diff options
-rw-r--r-- | app/controllers/activities_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/activities_controller.rb b/app/controllers/activities_controller.rb index ae6a67369..d6292ea9a 100644 --- a/app/controllers/activities_controller.rb +++ b/app/controllers/activities_controller.rb @@ -23,7 +23,7 @@ class ActivitiesController < ApplicationController events = @activity.events(@date_from, @date_to) - if events.empty? || stale?(:etag => [events.first, User.current]) + if events.empty? || stale?(:etag => [@activity.scope, @date_to, @date_from, @with_subprojects, @author, events.first, User.current, current_language]) respond_to do |format| format.html { @events_by_day = events.group_by(&:event_date) |