before filter debug
This commit is contained in:
parent
2c4913054f
commit
674585bfdc
@ -6,8 +6,8 @@ module AdminOnly
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
before_action :authenticate_user!
|
||||
before_action :admin_only
|
||||
before_filter :authenticate_user!
|
||||
before_filter :admin_only
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user