]> source.dussan.org Git - redmine.git/commitdiff
Removed a useless rescue.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 29 Nov 2011 18:11:59 +0000 (18:11 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 29 Nov 2011 18:11:59 +0000 (18:11 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7978 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/application_controller.rb

index f031ac2921e0d88e90d5a5e6c3ad45e37f13daa3..8c3f6f7b9498080e0ffbbc70774e3d60ad672a72 100644 (file)
@@ -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