diff --git a/resources/views/bread/browse.blade.php b/resources/views/bread/browse.blade.php index 3397f28c7a..5c5ad0a4e8 100644 --- a/resources/views/bread/browse.blade.php +++ b/resources/views/bread/browse.blade.php @@ -351,7 +351,7 @@ var deleteFormAction; $('td').on('click', '.delete', function (e) { - $('#delete_form')[0].action = '{{ route('voyager.'.$dataType->slug.'.destroy', ['id' => '__id']) }}'.replace('__id', $(this).data('id')); + $('#delete_form')[0].action = '{{ route('voyager.'.$dataType->slug.'.destroy', '__id') }}'.replace('__id', $(this).data('id')); $('#delete_modal').modal('show'); }); diff --git a/resources/views/bread/read.blade.php b/resources/views/bread/read.blade.php index f17f432247..afee5e4006 100644 --- a/resources/views/bread/read.blade.php +++ b/resources/views/bread/read.blade.php @@ -165,7 +165,6 @@ $('.side-body').multilingual(); }); - @endif