ruby on rails - Using helpers in ActionMailer -


how access helpers within actionmailer ones have created?

i have tried: how use view helpers in actionmailer views? own created helper didn't work. advise?

this has worked me in past in rails 3:

class ordermailer < actionmailer::base   helper :application, :orders, :products   ... end 

my custom helpers orders , products.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -