X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e29e49dc7c3d1d9f59679f09a5eba8a6b56854a2..f5777a881f6f612712c8aa8fb88f6a09b3906a6c:/app/controllers/trace_controller.rb diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index 9b32c32a7..3769202da 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -15,7 +15,8 @@ class TraceController < ApplicationController before_filter :offline_redirect, :only => [:create, :edit, :delete, :data, :api_data, :api_create] around_filter :api_call_handle_error, :only => [:api_details, :api_data, :api_create] - caches_action :list, :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] cache_sweeper :tracetag_sweeper, :only => [:create, :edit, :delete, :api_create]