Skip to content

Parameter "title" for route "movies_show" must match "[^/]++" ("Frost/Nixon" given) to generate a corresponding URL #68

@johnnyMick

Description

@johnnyMick

To fix this update the Controller class : src/AppBundle/Controller/MovieController.php line 31
into

$title = str_replace('/',' ', $movieNode->get('title'));
$movie['url']` = $this->generateUrl('movies_show', ['title' => $title]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions