Refactoring venue
This commit is contained in:
parent
c0cdf3e6e5
commit
9d08f52636
13 changed files with 108 additions and 57 deletions
|
|
@ -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, only: [:show, :update, :index]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue