metamaps--metamaps/app/controllers/api/v2/tokens_controller.rb
2016-10-04 15:22:24 +08:00

16 lines
307 B
Ruby

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