Sha256: a0ffabf4297bd8580ade998d99b233f47d6a2a436f36a363933f789272cd45ba
Contents?: true
Size: 175 Bytes
Versions: 2
Compression:
Stored size: 175 Bytes
Contents
module Octodmin::Views::Posts class Create 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/create.rb |
octodmin-0.3.4 | app/views/posts/create.rb |