summaryrefslogtreecommitdiff
path: root/repoze/bfg/configure.zcml
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-07-12 22:39:52 +0000
committerChris McDonough <chrism@agendaless.com>2008-07-12 22:39:52 +0000
commit1115939b6d4e0367386e20100a53c97c811577ad (patch)
tree5c18b671abdafc60261d8c000bf3578daf3bb43d /repoze/bfg/configure.zcml
parent09415724ee0078416199f0045920f83ab798004d (diff)
downloadpyramid-1115939b6d4e0367386e20100a53c97c811577ad.tar.gz
pyramid-1115939b6d4e0367386e20100a53c97c811577ad.tar.bz2
pyramid-1115939b6d4e0367386e20100a53c97c811577ad.zip
Speculative: cause routers to accept an app_context (the zcml configuration context), so we can later enable an app-local component registry.
Diffstat (limited to 'repoze/bfg/configure.zcml')
-rw-r--r--repoze/bfg/configure.zcml8
1 files changed, 8 insertions, 0 deletions
diff --git a/repoze/bfg/configure.zcml b/repoze/bfg/configure.zcml
index 0223e25ba..2a9eea9dc 100644
--- a/repoze/bfg/configure.zcml
+++ b/repoze/bfg/configure.zcml
@@ -4,6 +4,14 @@
<include package="z3c.pt" />
<include package="zope.security" file="meta.zcml"/>
+ <!-- enable when we figure out app-local registries
+ <adapter
+ factory=".router.app_component_registry"
+ provides="zope.component.interfaces.IComponentLookup"
+ for="zope.configuration.interfaces.IConfigurationContext"
+ />
+ -->
+
<permission
id="repoze.view"
title="View"