Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / plugin / rest-resource.twig
index 897099ff4e4c38b85cd0502ece54c6e3d206c510..ed23b4270e7f8ca8b41743034a04c84a00ab8eb9 100644 (file)
@@ -20,7 +20,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
  *   label = @Translation("{{ plugin_label }}"),
  *   uri_paths = {
  *     "canonical" = "/api/{{ plugin_id|u2h }}/{id}",
- *     "https://www.drupal.org/link-relations/create" = "/api/{{ plugin_id|u2h  }}"
+ *     "https://www.drupal.org/link-relations/create" = "/api/{{ plugin_id|u2h }}"
  *   }
  * )
  *