From f45fc1a1bada5d377801bed3754e0a45db7be7bb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 29 Nov 2011 18:11:59 +0000 Subject: [PATCH] Removed a useless rescue. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7978 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/application_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index f031ac292..8c3f6f7b9 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -206,8 +206,6 @@ class ApplicationController < ActionController::Base render_404 unless @object.present? @project = @object.project - rescue ActiveRecord::RecordNotFound - render_404 end def find_model_object -- 2.39.5