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
|
@ -110,9 +110,10 @@ class ProjectsController < ApplicationController
|
||||||
flash[:notice] = l(:notice_successful_create)
|
flash[:notice] = l(:notice_successful_create)
|
||||||
redirect_to :controller => 'admin', :action => 'projects'
|
redirect_to :controller => 'admin', :action => 'projects'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
rescue ActiveRecord::RecordNotFound
|
||||||
|
redirect_to :controller => 'admin', :action => 'projects'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
# Show @project
|
# Show @project
|
||||||
def show
|
def show
|
||||||
|
|
Loading…
Reference in New Issue