mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -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>
|
||||
@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
|
||||
{{ $requestableModel->name }}
|
||||
@endcan
|
||||
|
|
Loading…
Reference in a new issue