about summary refs log tree commit diff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-08-30 01:34:47 +0200
committermultiple creatures <dev@multiple-creature.party>2020-02-21 00:25:45 -0600
commit961e57f4e067bcacf460986006197ce6938ca244 (patch)
tree58012f0513669f78935288ba2e9dfa0d8ebb8b69 /app/controllers/application_controller.rb
parentb9ed21b8f443d12ac3f8a62e536983e9cbf31d78 (diff)
port tootsuite#11702 to monsterfork: Fix uncaught parameter missing exceptions and missing error templates
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 78f866650..add6b52f6 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -20,7 +20,6 @@ class ApplicationController < ActionController::Base
   helper_method :use_seamless_external_login?
 
   rescue_from ActionController::RoutingError, with: :not_found
-  rescue_from ActiveRecord::RecordNotFound, with: :not_found
   rescue_from ActionController::InvalidAuthenticityToken, with: :unprocessable_entity
   rescue_from ActionController::UnknownFormat, with: :not_acceptable
   rescue_from ActionController::ParameterMissing, with: :bad_request