resq/config/routes/privacy_policy.yaml

33 lines
978 B
YAML

privacy_policy_list:
path: /privacy_policies
controller: App\Controller\PrivacyPolicyController::index
privacy_policy_rows:
path: /privacy_policies/rows
controller: App\Controller\PrivacyPolicyController::rows
methods: [POST]
privacy_policy_create:
path: /privacy_policies/create
controller: App\Controller\PrivacyPolicyController::addForm
methods: [GET]
privacy_policy_create_submit:
path: /privacy_policies/create
controller: App\Controller\PrivacyPolicyController:addSubmit
methods: [POST]
privacy_policy_update:
path: /privacy_policies/{id}
controller: App\Controller\PrivacyPolicyController::updateForm
methods: [GET]
privacy_policy_update_submit:
path : /privacy_policies/{id}
controller: App\Controller\PrivacyPolicyController:updateSubmit
methods: [POST]
privacy_policy_delete:
path: /privacy_policies/{id}
controller: App\Controller\PrivacyPolicyController:destroy
methods: [DELETE]