Displaying 1 result from an estimated 1 matches for "plus_four".
2008 Jan 29
0
ActionMailer calling shared methods
...t;" +
"#{@order.address.address_1}<br />" +
(@order.address.address_2.blank? ? '''' : "#
{@order.address.address_2}<br />") +
"#{@order.address.city}, #{@order.address.state} #
{@order.address.zip_code}" +
(@order.address.plus_four.blank? ? '''' : "-#
{@order.address.plus_four}")
end
%>
I have also tried prefacing the method call with
ApplicationHelper::, but that didn''t work either. How does one use
shared methods in email templates?
Peace,
Phillip
--~--~---------~--~----~---...