36 lines
908 B
YAML

admin_scope:
path: /
defaults: { controller: ChillMain\ScopeController::index }
options:
menus:
admin_permissions:
order: 200
label: List circles
admin_scope_show:
path: /{id}/show
defaults: { controller: ChillMain\ScopeController::show }
admin_scope_new:
path: /new
defaults: { controller: ChillMain\ScopeController::new }
options:
menus:
admin_permissions:
order: 201
label: New circle
admin_scope_create:
path: /create
defaults: { controller: ChillMain\ScopeController::create }
methods: POST
admin_scope_edit:
path: /{id}/edit
defaults: { controller: ChillMain\ScopeController::edit }
admin_scope_update:
path: /{id}/update
defaults: { controller: ChillMain\ScopeController::update }
methods: [POST, PUT]