szatti1489
szatti1489

Reputation: 362

Symfony 3.4 routing seems does not work

I created a new project with symfony new myproject 3.4 and in the fresh project, I simple copy-paste the indexAction in the default controller, rename the action and the route, and voila, the server returned a 404 not found error. I did nothing more.

Of course I also have the type: annotation in my routing.yml file.

What could be the problem? Any idea? Thx!

Upvotes: 0

Views: 312

Answers (1)

Martin de Keijzer
Martin de Keijzer

Reputation: 382

This might be a caching issue, you can clear the cache by issuing the command bin/console cache:clear from your command prompt.

Upvotes: 1

Related Questions