Skip csrf for user filters
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
class Dunlop::UserFiltersController < Dunlop::ApplicationController
|
class Dunlop::UserFiltersController < Dunlop::ApplicationController
|
||||||
include Dunlop::Ember::ApiBaseController # Ugly to require a non dependency here, but for now only used in application explicitly including dunlop-ember
|
include Dunlop::Ember::ApiBaseController # Ugly to require a non dependency here, but for now only used in application explicitly including dunlop-ember
|
||||||
|
skip_before_action :verify_authenticity_token
|
||||||
before_action :check_current_user
|
before_action :check_current_user
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
Reference in New Issue
Block a user