Skip to content

Commit 89be6bd

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents e120331 + 0822aa9 commit 89be6bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/locations/view.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class="table table-striped snipe-table"
263263
data-click-to-select="true"
264264
id="assetsListingTable"
265265
class="table table-striped snipe-table"
266-
data-url="{{route('api.locations.assigned_assets', ['location' => $location]) }}"
266+
data-url="{{route('api.assets.index', ['assigned_to' => $location->id, 'assigned_type' => 'App\Models\Location']) }}"
267267
data-export-options='{
268268
"fileName": "export-locations-{{ str_slug($location->name) }}-assets-{{ date('Y-m-d') }}",
269269
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]

0 commit comments

Comments
 (0)