Skip to content

Instantly share code, notes, and snippets.

@soelen
Created September 4, 2016 10:28
Show Gist options
  • Save soelen/c08e76435dcf3a3bcff1fb53c9eb7f23 to your computer and use it in GitHub Desktop.
Save soelen/c08e76435dcf3a3bcff1fb53c9eb7f23 to your computer and use it in GitHub Desktop.
<li class="nav-item">
<?= $this->Html->link(__('Sign Up'), ['controller' => 'Users','action' => 'affe','prefix' => false], [
'class' => 'nav-link'
]) ?>
</li>
Router::scope('/', function (RouteBuilder $routes) {
$routes->connect('/affe', ['controller' => 'Users', 'action' => 'affe', 'prefix' => false]);
$routes->fallbacks('DashedRoute');
});
public function affe()
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment