diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-12 23:56:53 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-12 23:56:53 +0300 |
commit | 7ac62388a5ba030dd60e6aef971eb32adf39ed0d (patch) | |
tree | 785c18e1d53231059431a8eb538a5392f36efca4 /app/views/admin/groups | |
parent | 0f144f36bc5703ba745a8a6d1cde14fb694c4e34 (diff) |
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.haml | 2 |
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 |