]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/trace_controller.rb
Disable caching of pages with dynamic layout
[rails.git] / app / controllers / trace_controller.rb
index 4b138bdaecf5d52f22c08faec64671516bda6d92..14c64d2c67750179a70947be81c0b0c7fd51f185 100644 (file)
@@ -16,8 +16,8 @@ class TraceController < ApplicationController
   before_filter :offline_redirect, :only => [:create, :edit, :delete, :data, :api_create, :api_delete, :api_data]
   around_filter :api_call_handle_error, :only => [:api_create, :api_read, :api_update, :api_delete, :api_data]
 
-  caches_action :list, :unless => :logged_in?, :layout => false
-  caches_action :view, :layout => false
+#  caches_action :list, :unless => :logged_in?, :layout => false
+#  caches_action :view, :layout => false
   caches_action :georss, :layout => true
   cache_sweeper :trace_sweeper, :only => [:create, :edit, :delete, :api_create, :api_update, :api_delete]
   cache_sweeper :tracetag_sweeper, :only => [:create, :edit, :delete, :api_create, :api_update, :api_delete]