Sha256: 463d2092a0a23efb0020e2ef7294ca6a952b941464cd1e27b9fd51bf1f92b630
Contents?: true
Size: 219 Bytes
Versions: 24
Compression:
Stored size: 219 Bytes
Contents
module Brightcontent module ApplicationHelper def avatar_url(user) gravatar_id = Digest::MD5.hexdigest(user.email.downcase) "https://gravatar.com/avatar/#{gravatar_id}.png?s=30&d=mm" end end end
Version data entries
24 entries across 24 versions & 1 rubygems