fixed routes example, issue 1073
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user