Fix token auth vs policy bug

This commit is contained in:
Jesse C. Fisher 2023-10-27 07:15:29 +00:00 committed by TheNeedful-DO
parent c66ba3caac
commit 2b62269638

View File

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