Sha256: 42356ef24286979dc03f2a4657791ec31253690e859bf81555c9626b5baf4667

Contents?: true

Size: 175 Bytes

Versions: 2

Compression:

Stored size: 175 Bytes

Contents

module Octodmin::Views::Posts
  class Update
    include Octodmin::View
    format :json

    def render
      _raw JSON.dump(posts: post.serializable_hash)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octodmin-0.3.5 app/views/posts/update.rb
octodmin-0.3.4 app/views/posts/update.rb