Several schedules in the backend && routes changed
- Introduce plural resources for Schedule in routes.rb - Introduce #index and #create actions for ScheduleController - Make it possible to set a schedule as selected_schedule
This commit is contained in:
parent
060d7e909c
commit
4abc60424d
8 changed files with 93 additions and 36 deletions
|
|
@ -22,7 +22,7 @@ Osem::Application.routes.draw do
|
|||
resources :comments, only: [:index]
|
||||
resources :conference do
|
||||
resource :contact, except: [:index, :new, :create, :show, :destroy]
|
||||
resource :schedule, only: [:show, :update]
|
||||
resources :schedule, only: [:index, :create, :show, :update, :destroy]
|
||||
get 'commercials/render_commercial' => 'commercials#render_commercial'
|
||||
resources :commercials, only: [:index, :create, :update, :destroy]
|
||||
get '/volunteers_list' => 'volunteers#show'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue