Skip to main content

avatar

customer | avatar
returns string

Generates HTML to render a customer's avatar, if available.


Tip

Use with the customer.has_avatar? method to determine if the customer has an avatar.


{{ customer | avatar }}
Was this page helpful?