Skip to content

Commit

Permalink
Updated presentation create route
Browse files Browse the repository at this point in the history
  • Loading branch information
tbuljevic committed Aug 24, 2017
1 parent 742c373 commit b278fb5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Resources/config/routing/presentation.yml
Expand Up @@ -13,7 +13,6 @@ admin_presentation_new:
admin_presentation_create:
path: /{event_id}/create
defaults: { _controller: "LiveVotingBundle:PresentationAdmin:create" }
methods: [POST, GET]

admin_presentation_edit:
path: /{id}/edit
Expand All @@ -22,12 +21,12 @@ admin_presentation_edit:
admin_presentation_update:
path: /{id}/update
defaults: { _controller: "LiveVotingBundle:PresentationAdmin:update" }
requirements: { _method: post|put }
methods: [POST, PUT]

admin_presentation_vote_enable:
path: /{id}/voting_status
defaults: { _controller: "LiveVotingBundle:PresentationAdmin:enableDisable" }
requirements: { _method: put }
methods: [PUT]

admin_presentation_delete:
path: /{id}/delete
Expand Down

0 comments on commit b278fb5

Please sign in to comment.