Allow the modification of event + adding the prefix chill_even to all the route

This commit is contained in:
Marc Ducobu
2016-03-24 18:03:45 +01:00
parent fdb2c094a6
commit cf7f8a929b
10 changed files with 44 additions and 44 deletions

View File

@@ -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]