Sha256: 2a046792ca5150be2e99e0e42d7c81d7c18099fbb4d6d485d875ba0bd5df50db

Contents?: true

Size: 172 Bytes

Versions: 2

Compression:

Stored size: 172 Bytes

Contents

module Octodmin::Views::Site
  class Show
    include Octodmin::View
    format :json

    def render
      _raw JSON.dump(sites: site.serializable_hash)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octodmin-0.3.5 app/views/site/show.rb
octodmin-0.3.4 app/views/site/show.rb