Skip to content

Added namespace declaration to MainController.php. #2733

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

Merged
merged 2 commits into from
Jun 30, 2013

Conversation

alxp
Copy link
Contributor

@alxp alxp commented Jun 16, 2013

Q A
Doc fix? yes
New docs? no
Applies to 2.1+
Fixed tickets

My first experience with Symfony so I'm going through the docs and entering the code snippets. I got an exception when trying to view the newly-created contact page in HTTP Fundamentals - saying that it found the MainController file but couldn't find the class. I added a missing namespace declaration and that fixed the problem.

@wouterj
Copy link
Member

wouterj commented Jun 17, 2013

Thanks for fixing it, we sometimes make our code example to small :)

Could you please also change </components/yaml/introduction> to </components/yaml/format> on line 452? That way, I don't have to create another small PR.

@xabbuh
Copy link
Member

xabbuh commented Jun 22, 2013

👍

weaverryan added a commit that referenced this pull request Jun 30, 2013
Added namespace declaration to MainController.php.
@weaverryan weaverryan merged commit 64b5f34 into symfony:2.1 Jun 30, 2013
@weaverryan
Copy link
Member

Yep, this is a great change - thanks Alexander!

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

Successfully merging this pull request may close these issues.

4 participants