summaryrefslogtreecommitdiff
path: root/docs/narr/extconfig.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2015-02-17 19:03:13 -0600
committerMichael Merickel <michael@merickel.org>2015-02-17 19:03:13 -0600
commit0bf2fded1a5dfa1614120c989f1d051908fa0b56 (patch)
tree5bad1ff907b1a6e88db7b53eba0e8bed623dce01 /docs/narr/extconfig.rst
parentbba15920ee77a626c2ea3636d9d3b4f8d571afa6 (diff)
downloadpyramid-0bf2fded1a5dfa1614120c989f1d051908fa0b56.tar.gz
pyramid-0bf2fded1a5dfa1614120c989f1d051908fa0b56.tar.bz2
pyramid-0bf2fded1a5dfa1614120c989f1d051908fa0b56.zip
fix syntax
Diffstat (limited to 'docs/narr/extconfig.rst')
-rw-r--r--docs/narr/extconfig.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/extconfig.rst b/docs/narr/extconfig.rst
index d17842bf2..a61eca7b7 100644
--- a/docs/narr/extconfig.rst
+++ b/docs/narr/extconfig.rst
@@ -295,7 +295,7 @@ but we want it to conflict with any other call to our addon:
from pyramid.config import PHASE0_CONFIG
def includeme(config):
- config.add_directive(add_auto_route, 'add_auto_route')
+ config.add_directive('add_auto_route', add_auto_route)
def add_auto_route(config, name, view):
def register():