How do I configure devise to use a custom email layout?

Found the answer sitting in the Devise Github wiki,

Reading that helps. 😉

config.to_prepare do
  Devise::Mailer.layout "simple" # simple.haml or simple.erb
  Devise::Mailer.helper :mailer
end

Here is the reference of the wiki page: How To: Create custom layouts

Leave a Comment