Added route and controller for editing hat

So that the person id is in the URL.
This commit is contained in:
naomi
2018-04-12 13:42:52 +02:00
parent 79c49eb996
commit 58ac24db8f
3 changed files with 35 additions and 6 deletions

View File

@ -52,7 +52,7 @@ use Drupal\user\UserInterface;
* "canonical" = "/zencrm/hat/{hat}",
* "add-page" = "/zencrm/hat/add",
* "add-form" = "/zencrm/hat/add/{hat_type}",
* "edit-form" = "/zencrm/hat/{person}/{hat}/edit",
* "edit-form" = "/zencrm/hat/{hat}/edit",
* "delete-form" = "/zencrm/hat/{hat}/delete",
* "collection" = "/zencrm/hat",
* },