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'
|
'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;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Reference in a new issue