Remove protect_from_forgery

This is handled in ApplicationController
This commit is contained in:
Henne Vogelsang 2019-05-24 14:07:39 +02:00
parent 1648d7062a
commit 84b25e3a54
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0

View file

@ -2,7 +2,6 @@
class SchedulesController < ApplicationController
load_and_authorize_resource
protect_from_forgery with: :null_session
before_action :respond_to_options
load_resource :conference, find_by: :short_title
load_resource :program, through: :conference, singleton: true, except: :index