billhorsman / inline_styles_mailer

Inline Styles Mailer Gem
MIT License
14 stars 11 forks source link

flatten_prefixes_array #10

Closed eccentricyan closed 8 years ago

eccentricyan commented 8 years ago

prefixes = options[:template_path] has already be an array when I use devise mailer

$ options
{:subject=>"subject",
 :to=>"test@example.com",
 :from=>"test" <noreply@example.com>",
 :reply_to=>"noreply@example.com",
 :template_path=>["users/mailer", "devise_mailer", "devise/mailer"],
 :template_name=>:confirmation_instructions}