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
Post a Comment