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