FriendsOfSymfony/FOSRestBundle — pull request #474 by zefrog (2013-06-12 19:00:29+00:00)
Title: fixing issue #379 - let custom method routes first, developer order for ...

This is a fix for issue #379 - RestRouteCollection doesn't let the developer chose the correct order for routes.

There might be a need to sort routes with custom method first, so this PR should not break BC.

The UrlMatcher of Symfony2.1 was clearly matching "easier" routes first, but this is not the case since Sf2.2.