Commit a80a387d authored by Vitaliy @blackst0ne Klachkov's avatar Vitaliy @blackst0ne Klachkov
Browse files

[rails 5] Fix link_to_member_avatar

parent 53284f09
......@@ -22,7 +22,7 @@ module ProjectsHelper
classes << opts[:avatar_class] if opts[:avatar_class]
avatar = avatar_icon(author, opts[:size])
src = opts[:lazy_load] ? nil : avatar
src = opts[:lazy_load] ? '' : avatar
image_tag(src, width: opts[:size], class: classes, alt: '', "data-src" => avatar)
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment