Showing survey for users and handling authorization

This commit is contained in:
Shyukri Shyukriev 2016-06-30 13:04:07 +02:00
parent 9ce4ba6f6b
commit 67bccf0195
6 changed files with 44 additions and 6 deletions

View file

@ -96,6 +96,9 @@ Osem::Application.routes.draw do
end
resources :conference, only: [:index, :show] do
resources :survey, only: [:show] do
post :reply
end
resource :program, only: [] do
resources :proposal, except: :destroy do
get 'commercials/render_commercial' => 'commercials#render_commercial'