diff --git a/src/Controller/BookController.php b/src/Controller/BookController.php index f92ca088..7adce4d4 100644 --- a/src/Controller/BookController.php +++ b/src/Controller/BookController.php @@ -14,7 +14,7 @@ class BookController extends AbstractController { #[Route('/{book}/{slug}', name: 'app_book')] - public function index(Book $book, string $slug, BookSuggestions $bookSuggestions, BookFileSystemManager $fileSystemManager): Response + public function index(Book $book, string $slug, BookSuggestions $bookSuggestions): Response { if ($slug !== $book->getSlug()) { return $this->redirectToRoute('app_book', [