Module: GravatarHelper

Defined in:
app/helpers/gravatar_helper.rb

Instance Method Summary collapse

Instance Method Details

#show_gravatar_for(user, size = 80) ⇒ Object



2
3
4
# File 'app/helpers/gravatar_helper.rb', line 2

def show_gravatar_for(user, size=80)
  image_tag(user.gravatar_url(:size => size)) if user
end