controller: merge newAction and createAction

This commit is contained in:
2019-02-01 16:09:31 +01:00
parent c7ee9b8ebb
commit 4578625bb2
2 changed files with 13 additions and 33 deletions

View File

@@ -25,11 +25,7 @@ chill_event__event_new_pickcenter:
chill_event__event_new:
path: /new
defaults: { _controller: "ChillEventBundle:Event:new" }
chill_event__event_create:
path: /create
defaults: { _controller: "ChillEventBundle:Event:create" }
methods: POST
methods: [ GET, POST ]
chill_event__event_edit:
path: /{event_id}/edit