resq/config/routes.yaml

67 lines
1.3 KiB
YAML

#index:
# path: /
# controller: App\Controller\DefaultController::index
#
#
home:
path: /
controller: App\Controller\HomeController::index
# auth
login:
path: /login
controller: App\Controller\SecurityController::login
logout:
path: /logout
# users
user_list:
path: /users
controller: App\Controller\UserController::index
# roles
role_list:
path: /roles
controller: App\Controller\RoleController::index
role_rows:
path: /roles/rows
controller: App\Controller\RoleController::rows
methods: [POST]
role_create:
path: /roles/create
controller: App\Controller\RowController::create
role_create_submit:
path: /roles/create
controller: App\Controller\RowController::createSubmit
methods: [PUT]
role_update:
path: /roles/{id}
controller: App\Controller\RowController::update
role_update_submit:
path: /roles/{id}
controller: App\Controller\RowController::updateSubmit
methods: [POST]
role_delete:
path: /roles/{id}
controller: App\Controller\RoleController::destroy
methods: [DELETE]
# test
test_acl:
path: /test_acl
controller: App\Controller\TestController::index
test_is_granted:
path: /test_is_granted
controller: App\Controller\TestController::testIsGranted