app/config/services.php: add user-settings route.
override the profile route because it is not implemented.
This commit is contained in:
parent
8034ed486c
commit
aa035628a9
1 changed files with 3 additions and 3 deletions
|
|
@ -111,10 +111,10 @@ $di->setShared('router', function() {
|
|||
'action' => 'oauth'
|
||||
))->setName('oauth');
|
||||
|
||||
$router->add('/user', array(
|
||||
$router->add('/settings', array(
|
||||
'controller' => 'user',
|
||||
'action' => 'profile',
|
||||
))->setName('profile');
|
||||
'action' => 'settings',
|
||||
))->setName('user-settings');
|
||||
|
||||
return $router;
|
||||
});
|
||||
|
|
|
|||
Reference in a new issue