Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing route message for routes with periods #400

Closed
brianfreytag opened this issue Dec 11, 2014 · 1 comment
Closed

Missing route message for routes with periods #400

brianfreytag opened this issue Dec 11, 2014 · 1 comment

Comments

@brianfreytag
Copy link

I'm running into an issue where my project is not able to follow routes that use a period syntax.

/**
 * @Route("/my/page/so-good", name="my.page.so_good")
 */
public function soGoodAction(Request $request)
{
    ...
}
return $this->redirect($this->generateUrl('my.page.so_good'); 

On the generateUrl() I am receiving a Missing Route error, even within the same file and within the same method, however, an underscore syntax would work my_page_so_good but we prefer to use a period syntax in our project route names.

@Haehnchen
Copy link
Owner

added you case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants