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
This commit is contained in:
Jean-Philippe Lang
2011-12-12 18:05:13 +00:00
parent f1994ea9c0
commit f9b6e57d24
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -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