Add scale parameter to helper

This commit is contained in:
Jan-Gerd Tenberge 2015-09-26 21:25:04 +02:00
parent 3ef71fa4fb
commit f93177c6a3

View file

@ -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