function no longer exists
This commit is contained in:
parent
7f86810f62
commit
521aa6b5d0
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ class Api::TokensController < API::RestfulController
|
|||
skip_authorization
|
||||
|
||||
def my_tokens
|
||||
raise Pundit::NotAuthorizedError.new unless current_user.is_logged_in?
|
||||
raise Pundit::NotAuthorizedError.new unless current_user
|
||||
instantiate_collection page_collection: false, timeframe_collection: false
|
||||
respond_with_collection
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue