Walter Lee Davis
2011-Jun-27 20:27 UTC
Devise Invitable mailer -- how to force text/plain e-mail?
I am using Rails 3.09 and the latest Devise and Devise Invitable. I am able to make Devise send confirmation messages as text/plain just by adding a view properly named to the views/devise/mailer folder. Invitable keeps its views in views/users/invitations/mailer, but changing the name of the file (and the contents) does not seem to affect this at all. Instead, the view is being loaded out of the gem path and is the original HTML format. I''ve looked through the source of invitable, and haven''t found any configuration options for this. Does anyone have an idea how I can force the issue? I had all this worked out in 2.3, but I''m trying to get it to work in 3.0 now. Thanks, Walter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Maybe Matching Threads
- Devise Invitable and Validations -- what's the right way to do this?
- How to use two different sets of mailer templates for two different Devise models?
- Devise generates Mailer by its own?
- Two layouts in one mailer
- Have Admin add users, not the Devise Sign Up form