Fixed a test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2992 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
92ec35e657
commit
279e81eb92
|
@ -111,9 +111,10 @@ class ProjectsController < ApplicationController
|
|||
redirect_to :controller => 'admin', :action => 'projects'
|
||||
end
|
||||
end
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
redirect_to :controller => 'admin', :action => 'projects'
|
||||
end
|
||||
|
||||
|
||||
# Show @project
|
||||
def show
|
||||
if params[:jump]
|
||||
|
|
Loading…
Reference in New Issue