diff options
author | Ben Bangert <ben@groovie.org> | 2008-03-26 19:56:22 -0700 |
---|---|---|
committer | Ben Bangert <ben@groovie.org> | 2008-03-26 19:56:22 -0700 |
commit | 3a4b534378a88cabfa83faf29e937ae3d9a033f4 (patch) | |
tree | e7e904ea86e494a275f0e703cd0193cf2ad3c90d /routes | |
parent | fa2602ecc31dc8f59ba69f27e6d95a09de082a24 (diff) | |
download | routes-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.py | 2 |
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(): |