From: Dan Brown Date: Sat, 29 May 2021 11:49:10 +0000 (+0100) Subject: Added testing to cover next/previous navigation X-Git-Tag: v21.05~1^2~8 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/ed6ec341dfc1dff765911b5b283884c56ef747fe Added testing to cover next/previous navigation For #2511 --- diff --git a/app/Http/Controllers/BookController.php b/app/Http/Controllers/BookController.php index d111f9f0a..64ae982d5 100644 --- a/app/Http/Controllers/BookController.php +++ b/app/Http/Controllers/BookController.php @@ -12,7 +12,6 @@ use BookStack\Exceptions\ImageUploadException; use Illuminate\Http\Request; use Illuminate\Validation\ValidationException; use Throwable; -use Views; class BookController extends Controller { diff --git a/app/Http/Controllers/ChapterController.php b/app/Http/Controllers/ChapterController.php index 1c968a82c..d65b43cc1 100644 --- a/app/Http/Controllers/ChapterController.php +++ b/app/Http/Controllers/ChapterController.php @@ -11,7 +11,6 @@ use BookStack\Exceptions\NotFoundException; use Illuminate\Http\Request; use Illuminate\Validation\ValidationException; use Throwable; -use Views; class ChapterController extends Controller { diff --git a/app/Http/Controllers/PageController.php b/app/Http/Controllers/PageController.php index f76f00810..31ee4e970 100644 --- a/app/Http/Controllers/PageController.php +++ b/app/Http/Controllers/PageController.php @@ -14,7 +14,6 @@ use Exception; use Illuminate\Http\Request; use Illuminate\Validation\ValidationException; use Throwable; -use Views; class PageController extends Controller { diff --git a/resources/views/partials/entity-sibling-navigation.blade.php b/resources/views/partials/entity-sibling-navigation.blade.php index 7743081be..1f64bac3e 100644 --- a/resources/views/partials/entity-sibling-navigation.blade.php +++ b/resources/views/partials/entity-sibling-navigation.blade.php @@ -1,4 +1,4 @@ -