Sha256: cebd6060a273c842c6b55663507c44c8feed9e1217b31952db3efe5add1958d8
Contents?: true
Size: 168 Bytes
Versions: 5
Compression:
Stored size: 168 Bytes
Contents
module ApplicationHelper def avatar(user) email_hash = Digest::MD5.hexdigest(user.email.downcase) "https://www.gravatar.com/avatar/#{email_hash}" end end
Version data entries
5 entries across 5 versions & 1 rubygems