about summary refs log tree commit diff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorStarfall <root@starfall.blue>2019-12-29 17:53:54 -0600
committerStarfall <root@starfall.blue>2019-12-29 17:53:54 -0600
commitc0c9529df269816f52915a9802e5e30fbce9576b (patch)
tree077a7a12c69b18dafd3db3226f4beac477d0f49f /app/controllers/application_controller.rb
parent9ee65e89d547ae4a5bc0a5bdb59316ba5c061cfd (diff)
parent22daf24600d8e99e4569740ee5836d25c70c1e8b (diff)
Merge branch 'glitch'
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 599c64062..f1a4f0d02 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -212,6 +212,6 @@ class ApplicationController < ActionController::Base
 
   def respond_with_error(code)
     use_pack 'error'
-    render "errors/#{code}", layout: 'error', status: code
+    render "errors/#{code}", layout: 'error', status: code, formats: [:html]
   end
 end