fixed routes example, issue 1073

This commit is contained in:
mdipierro
2012-10-07 10:11:10 -05:00
parent e1bb2b4556
commit db9151b993
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.9 (2012-10-07 01:10:05) dev
Version 2.0.9 (2012-10-07 10:11:06) dev
+4 -4
View File
@@ -35,11 +35,11 @@ BASE = '' # optonal prefix for incoming URLs
routes_in = (
# do not reroute admin unless you want to disable it
(BASE+'/admin/?$anything','/admin/$anything'),
(BASE+'/admin/$anything','/admin/$anything'),
# do not reroute appadmin unless you want to disable it
(BASE+'/$app/appadmin/?$anything','/$app/appadmin/$anything'),
(BASE+'/$app/appadmin/$anything','/$app/appadmin/$anything'),
# do not reroute static files
(BASE+'/$app/static/?$anything','/$app/static/$anything'),
(BASE+'/$app/static/$anything','/$app/static/$anything'),
# reroute favicon and robots, use exable for lack of better choice
('/favicon.ico', '/examples/static/favicon.ico'),
('/robots.txt', '/examples/static/robots.txt'),
@@ -55,7 +55,7 @@ routes_in = (
routes_out = (
# do not reroute admin unless you want to disable it
('/admin/$anything', BASE+'/admin/?$anything'),
('/admin/$anything', BASE+'/admin/$anything'),
# do not reroute appadmin unless you want to disable it
('/$app/appadmin/$anything',BASE+'/$app/appadmin/$anything'),
# do not reroute static files