Skip to content

Instantly share code, notes, and snippets.

@daum
Last active December 14, 2015 07:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daum/5051173 to your computer and use it in GitHub Desktop.
Save daum/5051173 to your computer and use it in GitHub Desktop.
static public function listenToRoutingLoadConfigurationEvent(sfEvent $event)
{
$r = $event->getSubject();
$r->prependRoute('landing_page_noParam', new sfRoute('/some-route-there', array('module' => 'someModule', 'action' => 'showPage')));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment