Merge pull request #539 from ChrisBr/venue

Refactoring venue
This commit is contained in:
Christian Bruckmayer 2014-11-12 12:47:14 +01:00
commit 5a80adaee5
13 changed files with 108 additions and 57 deletions

View file

@ -27,8 +27,6 @@ Osem::Application.routes.draw do
resource :schedule, only: [:show, :update]
resources :commercials, except: [:show]
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'
@ -42,6 +40,8 @@ Osem::Application.routes.draw do
resource :splashpage
resource :venue, only: [:edit, :update]
resources :difficulty_levels, only: [:show, :update, :index]
resources :rooms, except: [:show]