##// END OF EJS Templates
Removes action caching on /robots.txt....
Jean-Philippe Lang -
r15251:d4edd4d6a48d
parent child
Show More
@@ -11,7 +11,6 gem "builder", ">= 3.0.4"
11 11 gem "request_store", "1.0.5"
12 12 gem "mime-types", (RUBY_VERSION >= "2.0" ? "~> 3.0" : "~> 2.99")
13 13 gem "protected_attributes"
14 gem "actionpack-action_caching"
15 14 gem "actionpack-xml_parser"
16 15 gem "roadie-rails"
17 16 gem "mimemagic"
@@ -27,12 +27,6 class ProjectsController < ApplicationController
27 27 accept_api_auth :index, :show, :create, :update, :destroy
28 28 require_sudo_mode :destroy
29 29
30 after_filter :only => [:create, :edit, :update, :archive, :unarchive, :destroy] do |controller|
31 if controller.request.post?
32 controller.send :expire_action, :controller => 'welcome', :action => 'robots'
33 end
34 end
35
36 30 helper :custom_fields
37 31 helper :issues
38 32 helper :queries
@@ -16,7 +16,6
16 16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 17
18 18 class WelcomeController < ApplicationController
19 caches_action :robots
20 19
21 20 def index
22 21 @news = News.latest User.current
General Comments 0
You need to be logged in to leave comments. Login now