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:
parent
af75334353
commit
47e316cddd
8 changed files with 89 additions and 75 deletions
|
|
@ -18,7 +18,7 @@
|
|||
Unscheduled events
|
||||
.unscheduled-events
|
||||
- @unscheduled_events.each do |e|
|
||||
= render partial: 'event', locals: { event: e }
|
||||
= render partial: 'event', locals: { event: e, event_schedule_id: nil }
|
||||
.col-md-10
|
||||
%ul.nav.nav-tabs
|
||||
- @dates.each do |date|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue