summaryrefslogtreecommitdiff
path: root/app/views/events
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-01-03 11:20:14 -0800
committerStan Hu <stanhu@gmail.com>2016-01-03 11:20:14 -0800
commit2802d4992d064e63cf2015c7bb002318eaa84c41 (patch)
treec67060bd3fa0269c635b7bb031c849fb8d584c17 /app/views/events
parentde6b6ccc421776891085c5c41e90d33a01e3ac30 (diff)
downloadgitlab-ce-2802d4992d064e63cf2015c7bb002318eaa84c41.tar.gz
Expire view caches when application settings change
Closes #5728
Diffstat (limited to 'app/views/events')
-rw-r--r--app/views/events/_event.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/events/_event.html.haml b/app/views/events/_event.html.haml
index 9aacc79d686..46432a92348 100644
--- a/app/views/events/_event.html.haml
+++ b/app/views/events/_event.html.haml
@@ -3,7 +3,7 @@
.event-item-timestamp
#{time_ago_with_tooltip(event.created_at)}
- = cache [event, "v2.1"] do
+ = cache [event, current_application_settings, "v2.1"] do
= image_tag avatar_icon(event.author_email, 46), class: "avatar s46", alt:''
- if event.created_project?
= render "events/event/created_project", event: event