summaryrefslogtreecommitdiff
path: root/app/views/admin/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/admin/groups
parent0f144f36bc5703ba745a8a6d1cde14fb694c4e34 (diff)
downloadgitlab-ce-7ac62388a5ba030dd60e6aef971eb32adf39ed0d.tar.gz
Prevent database query each time we render group avatar
Diffstat (limited to 'app/views/admin/groups')
-rw-r--r--app/views/admin/groups/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/groups/show.html.haml b/app/views/admin/groups/show.html.haml
index bb7f1972925..3040faa722b 100644
--- a/app/views/admin/groups/show.html.haml
+++ b/app/views/admin/groups/show.html.haml
@@ -12,7 +12,7 @@
Group info:
%ul.well-list
%li
- = image_tag group_icon(@group.path), class: "avatar s60"
+ = image_tag group_icon(@group), class: "avatar s60"
%li
%span.light Name:
%strong= @group.name