Skip to content

Commit

Permalink
remove arg
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 6, 2023
1 parent 91046e0 commit ba64eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/BookController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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', [
Expand Down

0 comments on commit ba64eba

Please sign in to comment.