module-and-template-store/app/controllers/api/v1/extensions_controller.rb

17 lines
284 B
Ruby
Raw Normal View History

module Api
module V1
class ExtensionsController < ApplicationController
2014-01-22 03:12:22 +00:00
# doorkeeper_for :all
respond_to :json
def index
respond_with Extension.all
end
def show
respond_with Extension.find(params[:id])
end
end
end
end