From: Jean-Philippe Lang Date: Tue, 29 Nov 2011 18:11:59 +0000 (+0000) Subject: Removed a useless rescue. X-Git-Tag: 1.3.0~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f45fc1a1bada5d377801bed3754e0a45db7be7bb;p=redmine.git Removed a useless rescue. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7978 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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