Modify views for booths

This commit is contained in:
nasia 2017-06-18 23:33:54 +03:00
parent 318c0d15a4
commit 98e0a25606
10 changed files with 220 additions and 88 deletions

View file

@ -31,13 +31,25 @@ Osem::Application.routes.draw do
resources :conferences do
resource :contact, except: [:index, :new, :create, :show, :destroy]
resources :schedules, only: [:index, :create, :show, :update, :destroy]
resources :booths
resources :event_schedules, only: [:create, :update, :destroy]
get 'commercials/render_commercial' => 'commercials#render_commercial'
resources :commercials, only: [:index, :create, :update, :destroy]
get '/volunteers_list' => 'volunteers#show'
get '/volunteers' => 'volunteers#index', as: 'volunteers_info'
patch '/volunteers' => 'volunteers#update', as: 'volunteers_update'
patch '/booths' => 'booths#update'
resources :booths do
member do
patch :accept
patch :restart
patch :withdrawn
patch :to_accept
patch :reject
patch :reset
end
end
resources :registrations, except: [:create, :new] do
member do