From 0ea7a063af79b26f84127ae45ad04490f6ac3edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Mon, 19 Apr 2021 19:29:58 +0300 Subject: [PATCH] refs #1985 fixed widget delete issue.. --- resources/views/partials/widgets/standard_header.blade.php | 2 +- resources/views/partials/widgets/stats_header.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/partials/widgets/standard_header.blade.php b/resources/views/partials/widgets/standard_header.blade.php index 4a1419af2..54a4338bd 100644 --- a/resources/views/partials/widgets/standard_header.blade.php +++ b/resources/views/partials/widgets/standard_header.blade.php @@ -24,7 +24,7 @@ @endcan @can('delete-common-widgets') - {!! Form::deleteLink($class->model, 'common/widgets') !!} + {!! Form::deleteLink($class->model, 'widgets.destroy') !!} @endcan diff --git a/resources/views/partials/widgets/stats_header.blade.php b/resources/views/partials/widgets/stats_header.blade.php index 347167980..060a480ec 100644 --- a/resources/views/partials/widgets/stats_header.blade.php +++ b/resources/views/partials/widgets/stats_header.blade.php @@ -16,7 +16,7 @@ @endcan @can('delete-common-widgets') - {!! Form::deleteLink($class->model, 'common/widgets') !!} + {!! Form::deleteLink($class->model, 'widgets.destroy') !!} @endcan