Skip to content
Snippets Groups Projects
Commit cc789866 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[algorithms][templates][edition] Fix fork link generation

parent 45db9a66
No related branches found
No related tags found
1 merge request!327Refactor update creation api
......@@ -710,10 +710,7 @@ jQuery(document).ready(function() {
});
{% if original_author %}
var url = '{% url 'api_algorithms:object' original_author algorithm_name %}'
{% if algorithm_version %}
url += '{{ algorithm_version }}/';
{% endif %}
var url = '{% url 'api_algorithms:object' original_author algorithm_name algorithm_version %}'
var query = '?fields=html_description,description,short_description';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment