symfony-cmf/Routing — pull request #23 by krizon (2012-10-11 13:27:09+00:00)
Title: Add route object to defaults in DynamicRouter match logic

## Issue
https://github.com/symfony-cmf/RoutingExtraBundle/issues/19

## Fix
This PR partly fixes the above issue. Since the route object is added to the ```$defaults``` the matcher logic will now set the route by the given route (https://github.com/symfony-cmf/Routing/blob/master/DynamicRouter.php#L131) instead of fetching the route by route name (https://github.com/symfony-cmf/Routing/blob/master/DynamicRouter.php#L135). This way generating routes based on 'self' will be using the route object itself instead of route name.