app/controllers/uploader/attachments_controller.rb in rails-uploader-0.2.5 vs app/controllers/uploader/attachments_controller.rb in rails-uploader-0.2.6
- old
+ new
@@ -49,7 +49,8 @@
def render_json(hash_or_object, status = 200)
self.status = status
self.content_type = Uploader.content_type(env["HTTP_USER_AGENT"])
self.response_body = hash_or_object.to_json(:root => false)
end
+
end
end