Hi there,
can anybody tell me why I get the error message:
"undefined method 't' for #<Mailer:0xb6d501e0>"
... when I call the following Mailer?
Hi there,
can anybody tell me why I get the error message:
"undefined method 't' for #<Mailer:0xb6d501e0>"
... when I call the following Mailer?
Ok, figured it out:
In a Mailer model, translations can not be accessed using the shortcut:
t(...)
You have to use it this way:
I18n.t(...)