From 7f980cffcc3a20f5c93e128313c1a4a47b39dc8e Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 15 Dec 2015 22:39:39 -0500 Subject: Show profile link for @username mentions --- app/ServiceProvider/RouteProvider.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/ServiceProvider') 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')); -- cgit v1.2.3