Browse Source

Fixed a test failure.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2992 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.9.0
Jean-Philippe Lang 14 years ago
parent
commit
279e81eb92
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      app/controllers/projects_controller.rb

+ 3
- 2
app/controllers/projects_controller.rb View File

@@ -110,9 +110,10 @@ class ProjectsController < ApplicationController
flash[:notice] = l(:notice_successful_create)
redirect_to :controller => 'admin', :action => 'projects'
end
end
end
rescue ActiveRecord::RecordNotFound
redirect_to :controller => 'admin', :action => 'projects'
end

# Show @project
def show

Loading…
Cancel
Save