Commit 05fc53b4 authored by jplang's avatar jplang

Force rendering of activity view if activity items count changed.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 15c0c2d9
......@@ -40,7 +40,7 @@ class ActivitiesController < ApplicationController
events =, @date_to)
if events.empty? || stale?(:etag => [@activity.scope, @date_to, @date_from, @with_subprojects, @author, events.first, User.current, current_language])
if events.empty? || stale?(:etag => [@activity.scope, @date_to, @date_from, @with_subprojects, @author, events.first, events.size, User.current, current_language])
respond_to do |format|
format.html {
@events_by_day = events.group_by {|event| User.current.time_to_date(event.event_datetime)}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment