Add scale parameter to helper
This commit is contained in:
parent
3ef71fa4fb
commit
f93177c6a3
1 changed files with 2 additions and 2 deletions
|
@ -78,8 +78,8 @@ module ApplicationHelper
|
|||
end
|
||||
end
|
||||
|
||||
def gravatar_icon(user_email = '', size = nil)
|
||||
GravatarService.new.execute(user_email, size) ||
|
||||
def gravatar_icon(user_email = '', size = nil, scale = 2)
|
||||
GravatarService.new.execute(user_email, size, scale) ||
|
||||
default_avatar
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue