Skip to content

Commit

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

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

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

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

0 comments on commit 7ade59b

Please sign in to comment.