14 lines
214 B
Ruby
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
|