hello
i want to specify my own location of actionmailer template. how can i do this?
something like render would be perfect ![]()
thanks
fero
hello
i want to specify my own location of actionmailer template. how can i do this?
something like render would be perfect ![]()
thanks
fero
Actionmailer "views" can render partials. Probably best to use this
approach.
Julian.
Learn Ruby on Rails! Check out the FREE VIDS (for a limited time)
VIDEO #4 coming soon!
http://sensei.zenunit.com/
maybe you dont understand.
my mailer view looks like:
OK, after few days I discover:
When you in ActionMailer set @body variable, no template is needed... through this you can render (with erb or...) email any way you want.
hope it helps.
Frantisek Psotka wrote: