Fix token auth vs policy bug
This commit is contained in:
parent
c66ba3caac
commit
2b62269638
@ -40,7 +40,7 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
|
||||
def get_footer_tokens
|
||||
@footer_tokens = authorize Token.all
|
||||
@footer_tokens = policy_scope(Token)
|
||||
end
|
||||
|
||||
def flash_to_http_header
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user