Posted By

ef on 02/12/11


Tagged

actions urlfor


Versions (?)

Using url_for in actions


 / Published in: Symfony
 

Same method can be applied anywhere in the application, just change $this->getContext() to sfContext::getInstance()

  1. $this->getContext()->getConfiguration()->loadHelpers(array('Url'));
  2. url_for('@payment_success')

Report this snippet  

You need to login to post a comment.