allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject git commit: [#6408] remove controller scanning from routes.Mapper (was part of TG2 boilerplate, not needed for object dispatch)
Date Tue, 25 Jun 2013 21:53:43 GMT
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 <dbrondsema@slashdotmedia.com>
Authored: Tue Jun 25 21:46:18 2013 +0000
Committer: Dave Brondsema <dbrondsema@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')


Mime
View raw message