2014-02-16 19:26:25 -06:00
|
|
|
require_dependency 'site_serializer'
|
|
|
|
|
|
|
|
class SiteController < ApplicationController
|
|
|
|
|
2014-02-21 11:31:54 -06:00
|
|
|
def index
|
2014-02-16 19:26:25 -06:00
|
|
|
@site = Site.new(guardian)
|
|
|
|
render_serialized(@site, SiteSerializer)
|
|
|
|
end
|
2014-02-21 11:31:54 -06:00
|
|
|
|
|
|
|
end
|