Sha256: 8617fcd8639245ee9f1cbb2758b9f311e2617daa4845afaad60026ded5710e73
Contents?: true
Size: 176 Bytes
Versions: 2
Compression:
Stored size: 176 Bytes
Contents
module Octodmin::Views::Posts class Destroy 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/destroy.rb |
octodmin-0.3.4 | app/views/posts/destroy.rb |