diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-12 18:05:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-12 18:05:13 +0000 |
commit | f9b6e57d24be6db2aaf7c2f7131d245d205acb0d (patch) | |
tree | 40674fdca695158a5cf6d5a24941b55864abc4a6 /app/controllers/projects_controller.rb | |
parent | f1994ea9c0820fa3efdb55dde62efd107a3f2fb6 (diff) | |
download | redmine-f9b6e57d24be6db2aaf7c2f7131d245d205acb0d.tar.gz redmine-f9b6e57d24be6db2aaf7c2f7131d245d205acb0d.zip |
Fixed error on project creation due to unrecognized route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8192 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 189220dca..e934f7878 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -29,7 +29,7 @@ class ProjectsController < ApplicationController after_filter :only => [:create, :edit, :update, :archive, :unarchive, :destroy] do |controller| if controller.request.post? - controller.send :expire_action, :controller => 'welcome', :action => 'robots.txt' + controller.send :expire_action, :controller => 'welcome', :action => 'robots' end end |