Remove unnecessary use of gsub
This commit is contained in:
parent
e2b195b274
commit
31d43e3458
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
%li.filter-dropdown-item{ class: ('js-current-user' if user == current_user) }
|
||||
%button.btn.btn-link.dropdown-user{ type: :button }
|
||||
.avatar-container.s40
|
||||
= user_avatar_without_link(user: user, lazy: avatar[:lazy], url: avatar[:url], size: 40, has_tooltip: false).gsub('/images/{{avatar_url}}','{{avatar_url}}').html_safe
|
||||
= user_avatar_without_link(user: user, lazy: avatar[:lazy], url: avatar[:url], size: 40, has_tooltip: false)
|
||||
.dropdown-user-details
|
||||
%span
|
||||
= user.name
|
||||
|
|
Loading…
Reference in a new issue