diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-12 11:35:13 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-12 11:35:13 -0400 |
commit | 99a341761053f42223aea674f36ab914c996b7f1 (patch) | |
tree | a1f465d3f19f87274a815f3b317cbe9fe130e00a /app/common.php | |
parent | c104d866588cb6e515009fdac5f0f9f5fa1e0eb3 (diff) |
Change routes
Diffstat (limited to 'app/common.php')
-rw-r--r-- | app/common.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/common.php b/app/common.php index 3acf9573..186d0f85 100644 --- a/app/common.php +++ b/app/common.php @@ -92,9 +92,7 @@ if (ENABLE_URL_REWRITE) { // Board routes $container['router']->addRoute('board/:project_id', 'board', 'show', array('project_id')); $container['router']->addRoute('b/:project_id', 'board', 'show', array('project_id')); - $container['router']->addRoute('board/:project_id/:search', 'board', 'show', array('project_id', 'search')); - $container['router']->addRoute('board/collapse/:project_id', 'board', 'collapse', array('project_id')); - $container['router']->addRoute('board/expand/:project_id', 'board', 'expand', array('project_id')); + $container['router']->addRoute('board/:project_id/filter/:search', 'board', 'show', array('project_id', 'search')); $container['router']->addRoute('public/board/:token', 'board', 'readonly', array('token')); // Calendar routes |