Anyway, to prioritize routes in Symfony2?
I use annotation, it looks like
Controllers
class TestController extends Controller
{
.....
class DummyController extends Controller
{
.....
Config
//routing.yml
acme_bundle:
resource: "@Acme/Controller"
type: annotation
purpose
URL , Actual , Goal
/test/a , DummyController , TestController //Wrong
/test/b , DummyController , DummyController //Good
How can I get TestController to be tested first?
thank
source
share