Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce assign/2 to set many assigns #600

Merged
merged 1 commit into from
May 14, 2021
Merged

Commits on May 14, 2021

  1. Introduce assign/2 to set many assigns

    What changed?
    ============
    
    We introduce `Bamboo.Template.assign/2` to sets many assigns for an
    email. It accepts a map or a keyword list as an argument.
    
    We take inspiration from [Phoenix.LiveView.assign/2][assign/2]
    
    [assign/2]: https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#assign/2
    germsvel committed May 14, 2021
    Configuration menu
    Copy the full SHA
    f2e2da9 View commit details
    Browse the repository at this point in the history