mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Use named route with params
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
52fd334745
commit
09674c012c
|
@ -113,7 +113,7 @@
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
@can('view', \App\Models\AssetModel::class)
|
@can('view', \App\Models\AssetModel::class)
|
||||||
<a href="{{ url('/') }}'/models/'.{{ $requestableModel->id }}) }}">{{ $requestableModel->name }}</a>
|
<a href="{{ route('models.show', ['model' => $requestableModel->id]) }}">{{ $requestableModel->name }}</a>
|
||||||
@else
|
@else
|
||||||
{{ $requestableModel->name }}
|
{{ $requestableModel->name }}
|
||||||
@endcan
|
@endcan
|
||||||
|
|
Loading…
Reference in a new issue