I’m trying to send some emails with the same formatting as my pages & I
can’t seem to access my display routines in application_helper.rb. I’m
trying a hack to bypass this.
At the top of my ActionMailer notifier script I’ve included
application_helper.rb - my understanding is that this should arrive as a
module and should be able to be used accordingly.
I’m trying to send some emails with the same formatting as my pages & I
can’t seem to access my display routines in application_helper.rb. I’m
trying a hack to bypass this.
I think you can make the application helper available by adding:
I’m trying to send some emails with the same formatting as my pages & I
can’t seem to access my display routines in application_helper.rb. I’m
trying a hack to bypass this.
I think you can make the application helper available by adding:
helper :application
to the mailer model.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.