diff --git a/apps/assets/templates/assets/platform_detail.html b/apps/assets/templates/assets/platform_detail.html index e05de4232..89d364e0f 100644 --- a/apps/assets/templates/assets/platform_detail.html +++ b/apps/assets/templates/assets/platform_detail.html @@ -83,7 +83,7 @@ $(document).ready(function () { var $this = $(this); var name = "{{ object.name}}"; var uid = "{{ object.id }}"; - var the_url = '{% url "api-assets:asset-platform-detail" pk=DEFAULT_PK %}'.replace('{{ DEFAULT_PK }}', uid); + var the_url = '{% url "api-assets:platform-detail" pk=DEFAULT_PK %}'.replace('{{ DEFAULT_PK }}', uid); var redirect_url = "{% url 'assets:platform-list' %}"; objectDelete($this, name, the_url, redirect_url); })