mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Event CRUD generated
This commit is contained in:
30
Resources/config/routing/event.yml
Normal file
30
Resources/config/routing/event.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
event:
|
||||
path: /
|
||||
defaults: { _controller: "ChillEventBundle:Event:index" }
|
||||
|
||||
event_show:
|
||||
path: /{id}/show
|
||||
defaults: { _controller: "ChillEventBundle:Event:show" }
|
||||
|
||||
event_new:
|
||||
path: /new
|
||||
defaults: { _controller: "ChillEventBundle:Event:new" }
|
||||
|
||||
event_create:
|
||||
path: /create
|
||||
defaults: { _controller: "ChillEventBundle:Event:create" }
|
||||
methods: POST
|
||||
|
||||
event_edit:
|
||||
path: /{id}/edit
|
||||
defaults: { _controller: "ChillEventBundle:Event:edit" }
|
||||
|
||||
event_update:
|
||||
path: /{id}/update
|
||||
defaults: { _controller: "ChillEventBundle:Event:update" }
|
||||
methods: [POST, PUT]
|
||||
|
||||
event_delete:
|
||||
path: /{id}/delete
|
||||
defaults: { _controller: "ChillEventBundle:Event:delete" }
|
||||
methods: [POST, DELETE]
|
Reference in New Issue
Block a user