app/views/posts/create.rb in octodmin-0.3.3 vs app/views/posts/create.rb in octodmin-0.3.4
- old
+ new
@@ -2,9 +2,9 @@
class Create
include Octodmin::View
format :json
def render
- JSON.dump(posts: post.serializable_hash)
+ _raw JSON.dump(posts: post.serializable_hash)
end
end
end