Skip to content
Snippets Groups Projects
Commit f93177c6 authored by Jan-Gerd Tenberge's avatar Jan-Gerd Tenberge
Browse files

Add scale parameter to helper

parent 3ef71fa4
No related branches found
No related tags found
Loading
Loading
@@ -78,8 +78,8 @@ module ApplicationHelper
Loading
@@ -78,8 +78,8 @@ module ApplicationHelper
end end
end end
   
def gravatar_icon(user_email = '', size = nil) def gravatar_icon(user_email = '', size = nil, scale = 2)
GravatarService.new.execute(user_email, size) || GravatarService.new.execute(user_email, size, scale) ||
default_avatar default_avatar
end end
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment