Introduce an Admin::EventScheduleController

- move SchedulesController#update action
- split it into an #create/#update and #destroy action and use these actions in the JS code
This commit is contained in:
Ana 2016-08-01 00:52:52 +02:00
parent a394293500
commit 5001848af7
10 changed files with 108 additions and 81 deletions

View file

@ -23,6 +23,7 @@ Osem::Application.routes.draw do
resources :conference do
resource :contact, except: [:index, :new, :create, :show, :destroy]
resources :schedule, only: [:index, :create, :show, :update, :destroy]
resources :event_schedule, only: [:create, :update, :destroy]
get 'commercials/render_commercial' => 'commercials#render_commercial'
resources :commercials, only: [:index, :create, :update, :destroy]
get '/volunteers_list' => 'volunteers#show'