-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
views: alias routes #2081
views: alias routes #2081
Conversation
* Closes: cernopendata#1130 * Addresses: cernopendata#2081 Signed-off-by: Ana Trisovic <ana.trisovic@gmail.com>
cernopendata/modules/pages/views.py
Outdated
@@ -111,6 +111,7 @@ def md_debug(): | |||
|
|||
|
|||
@blueprint.route('/visualise/events') | |||
@blueprint.route('/visualize/events') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check https://github.com/cernopendata/opendata.cern.ch/blob/master/cernopendata/modules/pages/views.py#L270 so as to avoid extra lines :)
cernopendata/modules/pages/views.py
Outdated
@@ -122,7 +123,9 @@ def visualise_events_landing(): | |||
|
|||
|
|||
@blueprint.route('/visualise/events/<string:experiment>') | |||
@blueprint.route('/visualize/events/<string:experiment>') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
cernopendata/modules/pages/views.py
Outdated
@blueprint.route('/visualise/events/<string:experiment>/<int:eventid>') | ||
@blueprint.route('/visualize/events/<string:experiment>/<int:eventid>') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
cernopendata/modules/pages/views.py
Outdated
@@ -138,7 +141,9 @@ def visualise_events(experiment='cms', eventid=None): | |||
|
|||
|
|||
@blueprint.route('/visualise/histograms') | |||
@blueprint.route('/visualize/histograms') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
cernopendata/modules/pages/views.py
Outdated
@blueprint.route('/visualise/histograms/<string:experiment>') | ||
@blueprint.route('/visualize/histograms/<string:experiment>') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
cernopendata/modules/pages/views.py
Outdated
@@ -206,6 +211,7 @@ def about_cms_dataset_names(): | |||
return redirect('/docs/cms-simulated-dataset-names') | |||
|
|||
|
|||
@blueprint.route('/getstarted/<exp>') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
* Closes: cernopendata#1130 * Addresses: cernopendata#2081 Signed-off-by: Ana Trisovic <ana.trisovic@gmail.com>
* Closes: cernopendata#1130 * Addresses: cernopendata#2081 Signed-off-by: Ana Trisovic <ana.trisovic@gmail.com>
* Closes: cernopendata#1130 * Addresses: cernopendata#2081 Signed-off-by: Ana Trisovic <ana.trisovic@gmail.com>
* Closes: cernopendata#1130 * Addresses: cernopendata#2081 Signed-off-by: Ana Trisovic <ana.trisovic@gmail.com>
Signed-off-by: Ana Trisovic ana.trisovic@gmail.com