summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtsushi Odagiri <aodagx@gmail.com>2011-07-01 22:20:41 +0900
committerAtsushi Odagiri <aodagx@gmail.com>2011-07-03 03:13:47 +0900
commit1227172e2a8edf66ec0f2795fc744007938a56f2 (patch)
tree0c74daf84c2301cf1e7d13ede212075c83c2ca5c
parent1c6fd879acaf2461c78263b2c21711c65ed668ed (diff)
downloadpyramid-1227172e2a8edf66ec0f2795fc744007938a56f2.tar.gz
pyramid-1227172e2a8edf66ec0f2795fc744007938a56f2.tar.bz2
pyramid-1227172e2a8edf66ec0f2795fc744007938a56f2.zip
garden
-rw-r--r--pyramid/config.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/pyramid/config.py b/pyramid/config.py
index 31cd44222..78dd78a4f 100644
--- a/pyramid/config.py
+++ b/pyramid/config.py
@@ -601,7 +601,6 @@ class Configurator(object):
context.includepath = _context.includepath + (spec,)
context.package = package_of(module)
config = self.__class__.with_context(context)
- config.root_route_name = self.root_route_name
c(config)
def with_root_route(self, route_name):
@@ -1551,24 +1550,6 @@ class Configurator(object):
DeprecationWarning,
4)
- def with_root_route(self, route_name):
- mapper = self.get_routes_mapper()
- route = mapper.get_route(route_name)
- if route is None:
- raise ConfigurationError
- configurator = self.__class__(registry=self.registry,
- package=self.package,
- autocommit=self.autocommit,
- root_route_name=route_name)
- return configurator
-
- def mount(self, includeme, route_name):
- """ mount subapplication on route named ``route_name``.
- """
-
- config = self.with_root_route(route_name)
- config.include(includeme)
-
@action_method
def add_route(self,