Commit 6999eb46 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

[url-rewrite] move tab logic to conference (close #1773041)

as tab are defined in conference it make sense to move this code in conference.

We increase dependency version for conference as we need the moved code to be in
the conference code.
parent 8e3f261e24df
......@@ -22,7 +22,7 @@ pyversions = ['2.4']
__depends__ = {'cubicweb': '>= 3.10.0',
'cubicweb-blog': None,
'cubicweb-cmcicpay': None,
'cubicweb-conference': '>= 0.10.0',
'cubicweb-conference': '>= 0.11.0',
'cubicweb-forgotpwd': '>= 0.2.0',
'cubicweb-openidrelay': None,
'cubicweb-registration': None,
......
......@@ -225,9 +225,6 @@ class ConfRewrite(SimpleReqRewriter):
(rgx('/conference/([^/]+)/registration'),
dict(rql='Any C WHERE C is Conference, C url_id "%(id)s"' % {'id': r'\1'},
vid='conf-registration')),
(rgx('/conference/([^/]+)/([A-Za-z]+)'),
dict(rql='Any C WHERE C is Conference, C url_id "%(id)s"' % {'id': r'\1'},
selected_tab=r'\2', tab=r'\2')),
]
def registration_callback(vreg):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment