mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:19:52 +01:00
fixed stuff
This commit is contained in:
parent
2b81ad86db
commit
9f33ab5566
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue