Sha256: 335fa438c2cefc84a006ea9ebe2d34ec3720209c7e8e5557d86d39c5756e3e2a
Contents?: true
Size: 173 Bytes
Versions: 2
Compression:
Stored size: 173 Bytes
Contents
module Octodmin::Views::Posts class Show 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/show.rb |
octodmin-0.3.4 | app/views/posts/show.rb |