Fix token auth vs policy bug

This commit is contained in:
Jesse C. Fisher 2023-10-27 07:15:29 +00:00
parent 6d8438c675
commit adca780db7

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