mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
add basic crud for admin
This commit is contained in:
30
Resources/config/routing/eventtype.yml
Normal file
30
Resources/config/routing/eventtype.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
chill_event_admin:
|
||||
path: /
|
||||
defaults: { _controller: "ChillEventBundle:EventType:index" }
|
||||
|
||||
chill_event_admin_show:
|
||||
path: /{id}/show
|
||||
defaults: { _controller: "ChillEventBundle:EventType:show" }
|
||||
|
||||
chill_event_admin_new:
|
||||
path: /new
|
||||
defaults: { _controller: "ChillEventBundle:EventType:new" }
|
||||
|
||||
chill_event_admin_create:
|
||||
path: /create
|
||||
defaults: { _controller: "ChillEventBundle:EventType:create" }
|
||||
methods: POST
|
||||
|
||||
chill_event_admin_edit:
|
||||
path: /{id}/edit
|
||||
defaults: { _controller: "ChillEventBundle:EventType:edit" }
|
||||
|
||||
chill_event_admin_update:
|
||||
path: /{id}/update
|
||||
defaults: { _controller: "ChillEventBundle:EventType:update" }
|
||||
methods: [POST, PUT]
|
||||
|
||||
chill_event_admin_delete:
|
||||
path: /{id}/delete
|
||||
defaults: { _controller: "ChillEventBundle:EventType:delete" }
|
||||
methods: [POST, DELETE]
|
30
Resources/config/routing/role.yml
Normal file
30
Resources/config/routing/role.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
chill_event_admin_role:
|
||||
path: /
|
||||
defaults: { _controller: "ChillEventBundle:Role:index" }
|
||||
|
||||
chill_event_admin_role_show:
|
||||
path: /{id}/show
|
||||
defaults: { _controller: "ChillEventBundle:Role:show" }
|
||||
|
||||
chill_event_admin_role_new:
|
||||
path: /new
|
||||
defaults: { _controller: "ChillEventBundle:Role:new" }
|
||||
|
||||
chill_event_admin_role_create:
|
||||
path: /create
|
||||
defaults: { _controller: "ChillEventBundle:Role:create" }
|
||||
methods: POST
|
||||
|
||||
chill_event_admin_role_edit:
|
||||
path: /{id}/edit
|
||||
defaults: { _controller: "ChillEventBundle:Role:edit" }
|
||||
|
||||
chill_event_admin_role_update:
|
||||
path: /{id}/update
|
||||
defaults: { _controller: "ChillEventBundle:Role:update" }
|
||||
methods: [POST, PUT]
|
||||
|
||||
chill_event_admin_role_delete:
|
||||
path: /{id}/delete
|
||||
defaults: { _controller: "ChillEventBundle:Role:delete" }
|
||||
methods: [POST, DELETE]
|
30
Resources/config/routing/status.yml
Normal file
30
Resources/config/routing/status.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
fr_admin_event_status:
|
||||
path: /
|
||||
defaults: { _controller: "ChillEventBundle:Status:index" }
|
||||
|
||||
fr_admin_event_status_show:
|
||||
path: /{id}/show
|
||||
defaults: { _controller: "ChillEventBundle:Status:show" }
|
||||
|
||||
fr_admin_event_status_new:
|
||||
path: /new
|
||||
defaults: { _controller: "ChillEventBundle:Status:new" }
|
||||
|
||||
fr_admin_event_status_create:
|
||||
path: /create
|
||||
defaults: { _controller: "ChillEventBundle:Status:create" }
|
||||
methods: POST
|
||||
|
||||
fr_admin_event_status_edit:
|
||||
path: /{id}/edit
|
||||
defaults: { _controller: "ChillEventBundle:Status:edit" }
|
||||
|
||||
fr_admin_event_status_update:
|
||||
path: /{id}/update
|
||||
defaults: { _controller: "ChillEventBundle:Status:update" }
|
||||
methods: [POST, PUT]
|
||||
|
||||
fr_admin_event_status_delete:
|
||||
path: /{id}/delete
|
||||
defaults: { _controller: "ChillEventBundle:Status:delete" }
|
||||
methods: [POST, DELETE]
|
Reference in New Issue
Block a user