mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -08:00
Updated named location routes in hardware
This commit is contained in:
parent
c308fbce0d
commit
406b828b4e
|
@ -320,7 +320,7 @@
|
|||
<td>{{ trans('general.location') }}</td>
|
||||
<td>
|
||||
@can('superuser')
|
||||
<a href="{{ route('view/location', $asset->assetloc->id) }}">
|
||||
<a href="{{ route('locations.show', ['location' => $asset->assetloc->id]) }}">
|
||||
{{ $asset->assetloc->name }}
|
||||
</a>
|
||||
@else
|
||||
|
@ -335,7 +335,7 @@
|
|||
<td>{{ trans('admin/hardware/form.default_location') }}</td>
|
||||
<td>
|
||||
@can('superuser')
|
||||
<a href="{{ route('view/location', $asset->defaultLoc->id) }}">
|
||||
<a href="{{ route('locations.show', ['location' => $asset->defaultLoc->id]) }}">
|
||||
{{ $asset->defaultLoc->name }}
|
||||
</a>
|
||||
@else
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
@stop
|
||||
|
||||
@section('header_right')
|
||||
<a href="{{ route('update/location', $location->id) }}" class="btn btn-sm btn-primary pull-right">{{ trans('admin/locations/table.update') }} </a>
|
||||
<a href="{{ route('locations.edit', ['location' => $location->id]) }}" class="btn btn-sm btn-primary pull-right">{{ trans('admin/locations/table.update') }} </a>
|
||||
@stop
|
||||
|
||||
{{-- Page content --}}
|
||||
|
|
Loading…
Reference in a new issue