Merge pull request #12459 from snipe/fixes/broken_route_in_deleted_models

Updated model restore route
This commit is contained in:
snipe 2023-02-02 23:40:39 -08:00 committed by GitHub
commit b0f4015bb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -305,7 +305,7 @@
@if ($model->deleted_at!='')
<li><br /><a href="{{ route('restore/model', $model->id) }}" class="btn-flat large info ">{{ trans('admin/models/general.restore') }}</a></li>
<li><br /><a href="{{ route('models.restore.store', $model->id) }}" class="btn-flat large info ">{{ trans('admin/models/general.restore') }}</a></li>
@endif
</ul>