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