summaryrefslogtreecommitdiff
path: root/app/views/dashboard/groups
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-12 13:56:53 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-12 13:56:53 -0700
commit7ac62388a5ba030dd60e6aef971eb32adf39ed0d (patch)
tree785c18e1d53231059431a8eb538a5392f36efca4 /app/views/dashboard/groups
parent0f144f36bc5703ba745a8a6d1cde14fb694c4e34 (diff)
downloadgitlab-ce-7ac62388a5ba030dd60e6aef971eb32adf39ed0d.tar.gz
Prevent database query each time we render group avatar
Diffstat (limited to 'app/views/dashboard/groups')
-rw-r--r--app/views/dashboard/groups/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/groups/index.html.haml b/app/views/dashboard/groups/index.html.haml
index 50e90b1c170..f7df5352512 100644
--- a/app/views/dashboard/groups/index.html.haml
+++ b/app/views/dashboard/groups/index.html.haml
@@ -27,7 +27,7 @@
%i.fa.fa-sign-out
Leave
- = image_tag group_icon(group.path), class: "avatar s40 avatar-tile"
+ = image_tag group_icon(group), class: "avatar s40 avatar-tile"
= link_to group, class: 'group-name' do
%strong= group.name