This commit is contained in:
Christian Bruckmayer 2014-08-01 11:35:26 +00:00
commit 31b9c0ca1a
26 changed files with 352 additions and 130 deletions

View file

@ -9,9 +9,8 @@ Osem::Application.routes.draw do
resources :people
resources :conference do
resource :schedule, only: [:show, :update]
resource :venue, only: [:edit, :update]
get '/stats' => 'stats#index'
get '/venue' => 'venue#show', as: 'venue_info'
patch '/venue' => 'venue#update', as: 'venue_update'
get '/dietary_choices' => 'dietchoices#show', as: 'dietary_list'
patch '/dietary_choices' => 'dietchoices#update', as: 'dietary_update'
get '/volunteers_list' => 'volunteers#show'
@ -23,7 +22,7 @@ Osem::Application.routes.draw do
resources :difficulty_levels, only: [:show, :update, :index]
resources :rooms, only: [:show, :update, :index]
resources :rooms, except: [:show]
resources :tracks, only: [:show, :update, :index]
@ -31,7 +30,7 @@ Osem::Application.routes.draw do
resources :sponsors, only: [:show, :update, :index]
resources :lodgings, only: [:show, :update, :index]
resources :lodgings, except: [:show]
resources :targets, only: [:update, :index]