Can ActionMailer render partials (like .sigs, for example)? When I try to render :partial, I get an error: undefined method `controller_path'' for SomeNotify:Class I also tried putting the partial within /shared, but it likes that even less -- it can''t seem to find the template. Jake -- Posted via http://www.ruby-forum.com/.
It seems you can render partials from ActionMailer templates like this: render :partial => ''../shared/template'' Cheers, -Jonny. Jake Janovetz wrote:> Can ActionMailer render partials (like .sigs, for example)? When I try > to render :partial, I get an error: > > undefined method `controller_path'' for SomeNotify:Class > > I also tried putting the partial within /shared, but it likes that even > less -- it can''t seem to find the template. > > Jake-- Posted via http://www.ruby-forum.com/.