This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
opencase/zencrm.routing.yml
naomi 58ac24db8f Added route and controller for editing hat
So that the person id is in the URL.
2018-04-12 13:42:52 +02:00

24 lines
749 B
YAML

zencrm.hat.create:
path: '/zencrm/hat/{person_id}/add/{hat_type_id}'
defaults:
_controller: '\Drupal\zencrm\Controller\HatController::createHatForPerson'
_title: 'Add New Hat'
requirements:
_permission: 'access content'
zencrm.hat.edit:
path: '/zencrm/hat/{person_id}/{hat_id}/edit'
defaults:
_controller: '\Drupal\zencrm\Controller\HatController::editHatForPerson'
_title: 'Edit Hat'
requirements:
_permission: 'access content'
zencrm.contact_details.create:
path: '/zencrm/contact_details/{person_id}/add'
defaults:
_controller: '\Drupal\zencrm\Controller\ContactDetailsController::createContactDetailsForPerson'
_title: 'Add New Contact Details'
requirements:
_permission: 'access content'