2013-12-26 09:49:49 +00:00
|
|
|
module Api
|
|
|
|
module V1
|
2014-02-13 06:51:23 +00:00
|
|
|
class ExtensionsController < Api::V1::BaseController
|
|
|
|
before_action :authorize_client
|
2013-12-26 09:49:49 +00:00
|
|
|
respond_to :json
|
|
|
|
|
|
|
|
def index
|
|
|
|
respond_with Extension.all
|
|
|
|
end
|
|
|
|
|
|
|
|
def show
|
|
|
|
respond_with Extension.find(params[:id])
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|