metamaps--metamaps/app/controllers/api/v2/tokens_controller.rb

17 lines
307 B
Ruby
Raw Normal View History

2016-09-24 03:00:46 +00:00
# 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