diff options
author | Sean Dague <sean@dague.net> | 2016-06-20 09:50:12 -0400 |
---|---|---|
committer | Sean Dague <sean@dague.net> | 2016-06-20 09:50:12 -0400 |
commit | d1030ec7ace3c8f2f8e3d71bcc03eb9fb641a2e0 (patch) | |
tree | 830e682694826850035ff63db77cfa26f6b4cc70 | |
parent | 3ca54e83c109f95d8cac3eaf02e8d795ee7a5275 (diff) | |
download | routes-d1030ec7ace3c8f2f8e3d71bcc03eb9fb641a2e0.tar.gz |
Fix missing quotes in documentation
When reading the docs I discovered a missing set of single quotes in
this code example which makes the example invalid python code. Fixed.
-rw-r--r-- | routes/mapper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/mapper.py b/routes/mapper.py index 48bba45..eb4060a 100644 --- a/routes/mapper.py +++ b/routes/mapper.py @@ -1230,7 +1230,7 @@ class Mapper(SubMapperParent): Example:: map = Mapper() - map.redirect('/legacyapp/archives/{url:.*}, '/archives/{url}) + map.redirect('/legacyapp/archives/{url:.*}', '/archives/{url}') map.redirect('/home/index', '/', _redirect_code='301 Moved Permanently') |