mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Event schedule controller pluralized
This commit is contained in:
parent
33e9c86214
commit
c469f4f415
3 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
module Admin
|
||||
class EventScheduleController < Admin::BaseController
|
||||
class EventSchedulesController < Admin::BaseController
|
||||
load_and_authorize_resource :event_schedule
|
||||
|
||||
def create
|
||||
|
|
@ -32,5 +32,5 @@
|
|||
|
||||
:javascript
|
||||
$(document).ready( function() {
|
||||
Schedule.initialize("#{admin_conference_event_schedule_index_path(@conference)}", "#{@schedule.id}");
|
||||
Schedule.initialize("#{admin_conference_event_schedules_path(@conference)}", "#{@schedule.id}");
|
||||
});
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ Osem::Application.routes.draw do
|
|||
resources :conference do
|
||||
resource :contact, except: [:index, :new, :create, :show, :destroy]
|
||||
resources :schedules, only: [:index, :create, :show, :update, :destroy]
|
||||
resources :event_schedule, only: [:create, :update, :destroy]
|
||||
resources :event_schedules, only: [:create, :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