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

Version Path
brightcontent-core-2.6.0 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.5.1 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.5.0 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.4.6 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.4.5 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.4.4 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.4.3 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.4.2 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.4.1 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.4.0 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.3.4 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.3.3 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.3.2 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.3.1 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.3.0 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.2.2 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.2.1 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.2.0 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.1.5 app/helpers/brightcontent/application_helper.rb
brightcontent-core-2.1.4 app/helpers/brightcontent/application_helper.rb