Archived
1
0
Fork 0

app/config/services.php: add user-settings route.

override the profile route because it is not implemented.
This commit is contained in:
Henrik Hautakoski 2018-03-30 01:10:41 +02:00
parent 8034ed486c
commit aa035628a9

View file

@ -111,10 +111,10 @@ $di->setShared('router', function() {
'action' => 'oauth' 'action' => 'oauth'
))->setName('oauth'); ))->setName('oauth');
$router->add('/user', array( $router->add('/settings', array(
'controller' => 'user', 'controller' => 'user',
'action' => 'profile', 'action' => 'settings',
))->setName('profile'); ))->setName('user-settings');
return $router; return $router;
}); });