manukall / phoenix_token_auth

Token authentication solution for Phoenix. Useful for APIs for e.g. single page apps.
MIT License
163 stars 39 forks source link

Current locale in mailer #31

Closed OpakAlex closed 9 years ago

OpakAlex commented 9 years ago

Hi, we need pass current locale to mailer. Can we proxy pass to mailer methods conn?

OpakAlex commented 9 years ago

@manukall what are you think?

manukall commented 9 years ago

i think passing conn to the mailer methods is actually a pretty good idea. would you be willing to create a PR for that?

OpakAlex commented 9 years ago

@manukall ok, i will try :)