Merge branch 'master' into 2640-folder-api
[arvados.git] / apps / workbench / app / controllers / application_controller.rb
index 18a5d4f169c3b0a7ee26e7a5313758815a575905..41d5566885c59bbdfed4e70b1673e70e78035c1c 100644 (file)
@@ -30,6 +30,7 @@ class ApplicationController < ActionController::Base
   end
 
   def render_error(opts)
+    opts = {status: 500}.merge opts
     respond_to do |f|
       # json must come before html here, so it gets used as the
       # default format when js is requested by the client. This lets