app/views/posts/upload.rb in octodmin-0.3.3 vs app/views/posts/upload.rb in octodmin-0.3.4
- old
+ new
@@ -2,9 +2,9 @@
class Upload
include Octodmin::View
format :json
def render
- JSON.dump(uploads: [upload])
+ _raw JSON.dump(uploads: [upload])
end
end
end