From dda0773cb6cb177e4fea2df43b63d3d783306383 Mon Sep 17 00:00:00 2001 From: Christoph Schweppe Date: Mon, 9 Sep 2019 10:13:38 +0300 Subject: [PATCH] Laravel 6 bugfixes (#4388) * Change faulty route-usage * Remove non-existing multilingual.js from read-view This file is included from the main app.js already and doesn't exist in /published --- resources/views/bread/browse.blade.php | 2 +- resources/views/bread/read.blade.php | 1 - resources/views/tools/bread/edit-add.blade.php | 2 +- resources/views/tools/bread/index.blade.php | 4 ++-- resources/views/tools/database/index.blade.php | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) 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