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