fix report_issue_url in route

This commit is contained in:
Laura Klünder 2019-12-25 01:34:12 +01:00
parent 231c19f9dc
commit b19c001ad1

View file

@ -75,7 +75,7 @@ class RoutingViewSet(ViewSet):
'destination': form.cleaned_data['destination'].pk, 'destination': form.cleaned_data['destination'].pk,
}, },
'options': options.serialize(), 'options': options.serialize(),
'report_issue_url': reverse('site.report', kwargs={ 'report_issue_url': reverse('site.report_create', kwargs={
'origin': request.POST['origin'], 'origin': request.POST['origin'],
'destination': request.POST['destination'], 'destination': request.POST['destination'],
'options': options.serialize_string() 'options': options.serialize_string()