diff options
Diffstat (limited to 'app/ServiceProvider/RouteProvider.php')
-rw-r--r-- | app/ServiceProvider/RouteProvider.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/ServiceProvider/RouteProvider.php b/app/ServiceProvider/RouteProvider.php index 26ab488a..b7dba8e5 100644 --- a/app/ServiceProvider/RouteProvider.php +++ b/app/ServiceProvider/RouteProvider.php @@ -153,6 +153,7 @@ class RouteProvider implements ServiceProviderInterface // Users $container['router']->addRoute('users', 'user', 'index'); + $container['router']->addRoute('user/profile/:user_id', 'user', 'profile', array('user_id')); $container['router']->addRoute('user/show/:user_id', 'user', 'show', array('user_id')); $container['router']->addRoute('user/show/:user_id/timesheet', 'user', 'timesheet', array('user_id')); $container['router']->addRoute('user/show/:user_id/last-logins', 'user', 'last', array('user_id')); |