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