metamaps--metamaps/app/controllers/api/v2/tokens_controller.rb
2016-09-24 11:00:46 +08:00

12 lines
244 B
Ruby

# frozen_string_literal: true
module Api
module V2
class TokensController < RestfulController
def my_tokens
authorize resource_class
instantiate_collection
respond_with_collection
end
end
end
end