summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-06-27 17:04:02 +0000
committerRobert Speicher <robert@gitlab.com>2017-06-27 17:04:02 +0000
commitb790506144e91eed158b782bc0247b1acca7f9d4 (patch)
tree10c651a26b68490214484a646de94a9f0cccebf5 /app/views
parentcc50decab5b22628eafb6636b3e57f99094c7926 (diff)
parenta89c1bf645e4ca0ccc5df9d26c196652a247e82a (diff)
downloadgitlab-ce-b790506144e91eed158b782bc0247b1acca7f9d4.tar.gz
Merge branch '34276-fix-dashboard-page-when-last-activity-at-is-nil' into 'master'
Fix application error when Project#last_activity_at is nil Closes #34276 See merge request !12443
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/projects/_project.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml
index fbc335f6176..8c3d6351ac2 100644
--- a/app/views/shared/projects/_project.html.haml
+++ b/app/views/shared/projects/_project.html.haml
@@ -7,7 +7,7 @@
- show_last_commit_as_description = false unless local_assigns[:show_last_commit_as_description] == true && project.commit
- css_class += " no-description" if project.description.blank? && !show_last_commit_as_description
- cache_key = project_list_cache_key(project)
-- updated_tooltip = time_ago_with_tooltip(project.last_activity_at)
+- updated_tooltip = time_ago_with_tooltip(project.last_activity_date)
%li.project-row{ class: css_class }
= cache(cache_key) do