fixed stuff

This commit is contained in:
pixeldesu 2014-11-30 14:34:27 +01:00
parent 2b81ad86db
commit 9f33ab5566

View file

@ -51,6 +51,7 @@ module ApplicationHelper
end
def gravatar_url(user)
return '//www.gravatar.com/avatar' if user.nil?
"//www.gravatar.com/avatar/#{Digest::MD5.hexdigest(user.email)}"
end
end