I solved my own problem. You need to crack open DeviseMailer (not
Devise::Mailer) to add helpers.
Like so:
DeviseMailer.class_eval do
helper :mailer
end
On Jul 1, 1:58 pm, Jared Mehle <
jrme...@gmail.com> wrote:
> How would I go about adding some custom helper methods to only the
> Devisemailer. In a standard Railsmailer, you can write:
>
> helper :my_helper
>
> to load a custom helper module for use in themailer. I've tried
> opening up the Devise::Mailerclass and adding that, but it doesn't