Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gpt
large_projects
gitlabhq1
Commits
a80a387d
Commit
a80a387d
authored
7 years ago
by
Vitaliy @blackst0ne Klachkov
Browse files
Options
Download
Email Patches
Plain Diff
[rails 5] Fix link_to_member_avatar
parent
53284f09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+1
-1
No files found.
app/helpers/projects_helper.rb
View file @
a80a387d
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment