diff options
author | robertd <robert.djurasaj@gmail.com> | 2014-02-07 10:19:49 +0400 |
---|---|---|
committer | robertd <robert.djurasaj@gmail.com> | 2014-02-07 10:27:32 +0400 |
commit | b8e81e558f4387b4ab4fed6594594ac29a7adec2 (patch) | |
tree | 0e833fa363cea8671d1504142a4cd77b89f045f5 /app/views/users/_groups.html.haml | |
parent | f7b46fa5fff2b26d8213aeb8619f2212e39f9541 (diff) |
Show avatars of groups on profile screen that user belongs to
Diffstat (limited to 'app/views/users/_groups.html.haml')
-rw-r--r-- | app/views/users/_groups.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/users/_groups.html.haml b/app/views/users/_groups.html.haml new file mode 100644 index 00000000000..412df943fcc --- /dev/null +++ b/app/views/users/_groups.html.haml @@ -0,0 +1,3 @@ +- groups.each do |group| + = link_to group, class: 'profile-groups-avatars', :title => group.name do + = image_tag group_icon(group.path)
\ No newline at end of file |