function no longer exists

This commit is contained in:
Connor Turland 2016-03-12 11:58:26 +11:00
parent 7f86810f62
commit 521aa6b5d0

View file

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