engine/app/controllers/locomotive/api/current_site_controller.rb
2012-04-27 12:05:21 -03:00

14 lines
214 B
Ruby

module Locomotive
module Api
class CurrentSiteController < BaseController
def show
@site = current_site
authorize! :show, @site
respond_with(@site)
end
end
end
end