Reorder code
This commit is contained in:
parent
98c07f7b4c
commit
c3eb705125
1 changed files with 2 additions and 2 deletions
|
@ -3,10 +3,10 @@
|
||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
include Pundit
|
include Pundit
|
||||||
|
|
||||||
before_action :set_raven_context
|
|
||||||
|
|
||||||
protect_from_forgery with: :exception, prepend: true, unless: :json_request?
|
protect_from_forgery with: :exception, prepend: true, unless: :json_request?
|
||||||
|
|
||||||
|
before_action :set_raven_context
|
||||||
|
|
||||||
after_action :verify_authorized, except: :index
|
after_action :verify_authorized, except: :index
|
||||||
after_action :verify_policy_scoped, only: :index
|
after_action :verify_policy_scoped, only: :index
|
||||||
|
|
||||||
|
|
Reference in a new issue