diff --git a/src/GitList/Util/Routing.php b/src/GitList/Util/Routing.php index 0ad87e8..c283fec 100644 --- a/src/GitList/Util/Routing.php +++ b/src/GitList/Util/Routing.php @@ -25,7 +25,7 @@ class Routing }, $this->app['git']->getRepositories($this->app['git.repos']) ); - $regex = '/' . implode('|', $quoted_paths) . '/'; + $regex = implode('|', $quoted_paths); } return $regex;