summaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorBen Bangert <ben@groovie.org>2008-03-26 19:56:22 -0700
committerBen Bangert <ben@groovie.org>2008-03-26 19:56:22 -0700
commit3a4b534378a88cabfa83faf29e937ae3d9a033f4 (patch)
treee7e904ea86e494a275f0e703cd0193cf2ad3c90d /routes
parentfa2602ecc31dc8f59ba69f27e6d95a09de082a24 (diff)
downloadroutes-3a4b534378a88cabfa83faf29e937ae3d9a033f4.tar.gz
* Fixed bug of map.resource not allowing spaces in id.
--HG-- branch : trunk
Diffstat (limited to 'routes')
-rw-r--r--routes/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/base.py b/routes/base.py
index 0fd319c..52c7253 100644
--- a/routes/base.py
+++ b/routes/base.py
@@ -1218,7 +1218,7 @@ class Mapper(object):
self.connect("formatted_" + name_prefix + name, path,
**route_options)
- requirements_regexp = '[\w\-_]+'
+ requirements_regexp = '[\w\-_\s]+'
# Add the routes that deal with member methods of a resource
for method, lst in member_methods.iteritems():