U
U
urfinjazz2016-05-12 13:32:16
symfony
urfinjazz, 2016-05-12 13:32:16

Why can't routing work in Symphony 2.8?

Why does it work like this:

_welcome:
    path:      /
    defaults:  { _controller: MyBundle:App:homepage }

but this doesn't work anymore:
_welcome:
    path:      /something
    defaults:  { _controller: MyBundle:App:homepage }
?
Thanks to!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
U
urfinjazz, 2016-05-12
@urfinjazz

Flew nginx config. Thanks to all.

B
BoShurik, 2016-05-12
@BoShurik

You are probably following http://example.com/something/
Remove the slash at the end, or put it in the routing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question