Hello Everyone, I am thankful that there's a place where i can post my questions after not finding anything by googling.
How can I use the url_for() helper method inside a model?
On the other hand, How can I use a model inside a helper file?
Thanks in advance
usually you can't use helpers inside a model. url_for relies on controller->urlFor() f.i.
include or Ak::import(...) your model and instantiate a record.
Thanks a lot Kaste...
1 to 3 of 3