Fix scheduling
Can't cache the event as the data is changed the scheduling js. We also can't verify the token in the EventSchedules controller as we are making susequent ajax calls and have no means to refresh the token for the second request. Make draggables scrollable. There also is no need to spam the console with debug code... Partly fixes #2353
This commit is contained in:
parent
ae9430dfb8
commit
6ec905b666
3 changed files with 32 additions and 36 deletions
|
|
@ -3,6 +3,7 @@
|
|||
module Admin
|
||||
class EventSchedulesController < Admin::BaseController
|
||||
load_and_authorize_resource :event_schedule
|
||||
skip_before_action :verify_authenticity_token
|
||||
|
||||
def create
|
||||
if @event_schedule.save
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue