Removed a useless rescue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7978 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b8836d89b1
commit
f45fc1a1ba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue