Updated named location routes in hardware
This commit is contained in:
parent
c308fbce0d
commit
406b828b4e
2 changed files with 3 additions and 3 deletions
|
@ -320,7 +320,7 @@
|
||||||
<td>{{ trans('general.location') }}</td>
|
<td>{{ trans('general.location') }}</td>
|
||||||
<td>
|
<td>
|
||||||
@can('superuser')
|
@can('superuser')
|
||||||
<a href="{{ route('view/location', $asset->assetloc->id) }}">
|
<a href="{{ route('locations.show', ['location' => $asset->assetloc->id]) }}">
|
||||||
{{ $asset->assetloc->name }}
|
{{ $asset->assetloc->name }}
|
||||||
</a>
|
</a>
|
||||||
@else
|
@else
|
||||||
|
@ -335,7 +335,7 @@
|
||||||
<td>{{ trans('admin/hardware/form.default_location') }}</td>
|
<td>{{ trans('admin/hardware/form.default_location') }}</td>
|
||||||
<td>
|
<td>
|
||||||
@can('superuser')
|
@can('superuser')
|
||||||
<a href="{{ route('view/location', $asset->defaultLoc->id) }}">
|
<a href="{{ route('locations.show', ['location' => $asset->defaultLoc->id]) }}">
|
||||||
{{ $asset->defaultLoc->name }}
|
{{ $asset->defaultLoc->name }}
|
||||||
</a>
|
</a>
|
||||||
@else
|
@else
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('header_right')
|
@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
|
@stop
|
||||||
|
|
||||||
{{-- Page content --}}
|
{{-- Page content --}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue