Sha256: e0fcc1d42736e04227427dbb860fce170b68709adb9fa94d979a658dfe9e9514

Contents?: true

Size: 176 Bytes

Versions: 2

Compression:

Stored size: 176 Bytes

Contents

module Octodmin::Views::Posts
  class Restore
    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/restore.rb
octodmin-0.3.4 app/views/posts/restore.rb