aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/errors_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/errors_controller.rb')
-rw-r--r--app/controllers/errors_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb
index fe3b7b2..4169eab 100644
--- a/app/controllers/errors_controller.rb
+++ b/app/controllers/errors_controller.rb
@@ -4,6 +4,7 @@ class ErrorsController < ApplicationController
def render_error
@exception = env["action_dispatch.exception"]
@status = ActionDispatch::ExceptionWrapper.new(env, @exception).status_code
+ @title = "?"
case @exception
when OAuth::Unauthorized