FriendsOfSymfony/FOSJsRoutingBundle — pull request #159 by kuczek (2014-09-10 23:24:11+00:00)
Title: JavaScript fos.Router.match

This function is matching routes in JS. If you need to know what route given url is you need just call
Routing.match(url);

This is first version of this, and it need some additional work to be done:
1. Should support default values.
2. Should check hosttokens

I put it there, as I'm not sure if this functionality should be present in this bundle. In my opinion it can be usefull.