# HG changeset patch # User Sylvain Thénault # Date 1264779837 -3600 # Node ID fe31bb5dada53effe01ff07c0abfcc0406717ae9 # Parent 1736f29ae4e4608a6e07f817b72d7ff892fffd26 eschema view is gone away diff -r 1736f29ae4e4 -r fe31bb5dada5 web/views/urlrewrite.py --- a/web/views/urlrewrite.py Thu Jan 28 14:30:05 2010 +0100 +++ b/web/views/urlrewrite.py Fri Jan 29 16:43:57 2010 +0100 @@ -83,7 +83,9 @@ ('/notfound', dict(vid='404')), ('/error', dict(vid='error')), ('/sparql', dict(vid='sparql')), - (rgx('/schema/([^/]+?)/?'), dict(vid='eschema', rql=r'Any X WHERE X is CWEType, X name "\1"')), + # XXX should be case insensitive as 'create', but I would like to find another way than + # relying on the etype_selector + (rgx('/schema/([^/]+?)/?'), dict(vid='primary', rql=r'Any X WHERE X is CWEType, X name "\1"')), (rgx('/add/([^/]+?)/?'), dict(vid='creation', etype=r'\1')), (rgx('/doc/images/(.+?)/?'), dict(vid='wdocimages', fid=r'\1')), (rgx('/doc/?'), dict(vid='wdoc', fid=r'main')),