Skip to content

Instantly share code, notes, and snippets.

@ringmaster
Created August 10, 2011 12:53
Show Gist options
  • Save ringmaster/1136731 to your computer and use it in GitHub Desktop.
Save ringmaster/1136731 to your computer and use it in GitHub Desktop.
Router::connect(new ValidatingRoute(array(
'template' => '/{:client_slug}',
'params' => array('controller' => 'clients', 'action' => 'show'),
'validator' => function($route, $result) {
return false;
},
)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment