You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/06/25 23:53:43 UTC

git commit: [#6408] remove controller scanning from routes.Mapper (was part of TG2 boilerplate, not needed for object dispatch)

Updated Branches:
  refs/heads/db/6408 [created] 759ef4569


[#6408] remove controller scanning from routes.Mapper (was part of TG2 boilerplate, not needed for object dispatch)


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/759ef456
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/759ef456
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/759ef456

Branch: refs/heads/db/6408
Commit: 759ef45690d7d9737bb8dc17f705001fac16b05c
Parents: e8fb5d8
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Tue Jun 25 21:46:18 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Tue Jun 25 21:46:18 2013 +0000

----------------------------------------------------------------------
 Allura/allura/config/app_cfg.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/759ef456/Allura/allura/config/app_cfg.py
----------------------------------------------------------------------
diff --git a/Allura/allura/config/app_cfg.py b/Allura/allura/config/app_cfg.py
index 5cc93f7..6f15406 100644
--- a/Allura/allura/config/app_cfg.py
+++ b/Allura/allura/config/app_cfg.py
@@ -66,8 +66,7 @@ class ForgeConfig(AppConfig):
         config['pylons.strict_c'] = True
 
     def setup_routes(self):
-        map = Mapper(directory=config['pylons.paths']['controllers'],
-                     always_scan=config['debug'])
+        map = Mapper()
         # Setup a default route for the root of object dispatch
         map.connect('*url', controller=self.root_controller,
                     action='routes_placeholder')