module Avatar::View::AbstractViewSupport

Public Instance Methods

avatar_url_for(person, options = {}) click to toggle source
# File lib/avatar/view/abstract_view_support.rb, line 7
def avatar_url_for(person, options = {})
  default_options = Avatar::default_avatar_options || {}
  options = default_options.merge(options)
  Avatar::source.avatar_url_for(person, options)
end