Skip to content

A free open source IT asset/license management system

Updated route

snipe5226d507d4eb
diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php
index 4cfdad90b7..178862c804 100644
--- a/resources/views/locations/view.blade.php
+++ b/resources/views/locations/view.blade.php
@@ -333,7 +333,7 @@
data-click-to-select="true"
id="accessoriesAssignedListingTable"
class="table table-striped snipe-table"
- data-url="{{route('api.locations.assigned_accessories', ['location' => $location, 'assigned_to' => $location->id]) }}"
+ data-url="{{ route('api.locations.assigned_accessories', ['location' => $location]) }}"
data-export-options='{
"fileName": "export-locations-{{ str_slug($location->name) }}-accessories-{{ date('Y-m-d') }}",
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]