mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Allow the modification of event + adding the prefix chill_even to all the route
This commit is contained in:
@@ -8,11 +8,11 @@ chill_event_list_most_recent:
|
||||
label: Events
|
||||
icons: [calendar]
|
||||
|
||||
event_show:
|
||||
chill_event__event_show:
|
||||
path: /{event_id}/show
|
||||
defaults: { _controller: "ChillEventBundle:Event:show" }
|
||||
|
||||
event_new:
|
||||
chill_event__event_new:
|
||||
path: /new
|
||||
defaults: { _controller: "ChillEventBundle:Event:new" }
|
||||
options:
|
||||
@@ -22,22 +22,21 @@ event_new:
|
||||
label: Add an event
|
||||
icons: [plus, calendar-o]
|
||||
|
||||
|
||||
event_create:
|
||||
chill_event__event_create:
|
||||
path: /create
|
||||
defaults: { _controller: "ChillEventBundle:Event:create" }
|
||||
methods: POST
|
||||
|
||||
event_edit:
|
||||
path: /{id}/edit
|
||||
chill_event__event_edit:
|
||||
path: /{event_id}/edit
|
||||
defaults: { _controller: "ChillEventBundle:Event:edit" }
|
||||
|
||||
event_update:
|
||||
path: /{id}/update
|
||||
chill_event__event_update:
|
||||
path: /{event_id}/update
|
||||
defaults: { _controller: "ChillEventBundle:Event:update" }
|
||||
methods: [POST, PUT]
|
||||
|
||||
event_delete:
|
||||
path: /{id}/delete
|
||||
chill_event__event_delete:
|
||||
path: /{event_id}/delete
|
||||
defaults: { _controller: "ChillEventBundle:Event:delete" }
|
||||
methods: [POST, DELETE]
|
||||
|
Reference in New Issue
Block a user