incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject git commit: [#6408] remove controller scanning from routes.Mapper (was part of TG2 boilerplate, not needed for object dispatch)
Date Wed, 26 Jun 2013 21:22:19 GMT
Updated Branches:
  refs/heads/master 674b1e9a6 -> 102791903


[#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/10279190
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/10279190
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/10279190

Branch: refs/heads/master
Commit: 102791903711bf3f4c948b6da89dd2cc0d89c10f
Parents: 674b1e9
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Tue Jun 25 21:46:18 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Wed Jun 26 21:21:59 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/10279190/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