mirror of
https://github.com/redmine/redmine.git
synced 2026-08-05 16:50:15 +02:00
Removes action caching on /robots.txt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15633 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -27,12 +27,6 @@ class ProjectsController < ApplicationController
|
||||
accept_api_auth :index, :show, :create, :update, :destroy
|
||||
require_sudo_mode :destroy
|
||||
|
||||
after_filter :only => [:create, :edit, :update, :archive, :unarchive, :destroy] do |controller|
|
||||
if controller.request.post?
|
||||
controller.send :expire_action, :controller => 'welcome', :action => 'robots'
|
||||
end
|
||||
end
|
||||
|
||||
helper :custom_fields
|
||||
helper :issues
|
||||
helper :queries
|
||||
|
||||
Reference in New Issue
Block a user