diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-08-29 19:54:50 -0700 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-08-29 19:54:50 -0700 |
commit | 49b22e96b78882ab367f2146eb9e3aa881acbd56 (patch) | |
tree | 78454a0105440fcac3a93254bc12db7f0ebd6f86 | |
parent | cb6220f9614005ada93583599c1a88fd470e3222 (diff) | |
download | gitlab-ce-repo-forks/gitlab-ce-frozen-string-enable-app-helpers.tar.gz |
-rw-r--r-- | app/helpers/groups_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb index ad965eba499..f573fd399a5 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -140,8 +140,8 @@ module GroupsHelper def group_title_link(group, hidable: false, show_avatar: false, for_dropdown: false) link_to(group_path(group), class: "group-path #{'breadcrumb-item-text' unless for_dropdown} js-breadcrumb-item-text #{'hidable' if hidable}") do - output = group_icon(group, class: "avatar-tile", width: 15, height: 15) if (group.try(:avatar_url) || show_avatar) && !Rails.env.test? - [output, simple_sanitize(group.name)].join.html_safe + icon = group_icon(group, class: "avatar-tile", width: 15, height: 15) if (group.try(:avatar_url) || show_avatar) && !Rails.env.test? + [icon, simple_sanitize(group.name)].join.html_safe end end |