1
0
Fork 0

Reorder code

This commit is contained in:
Alex Kotov 2018-12-12 06:54:38 +05:00
parent 98c07f7b4c
commit c3eb705125
No known key found for this signature in database
GPG key ID: 4E831250F47DE154

View file

@ -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