BlueSpire/Durandal — pull request #45 by evanlarsen (2013-02-09 18:20:25+00:00)
Title: Small change to router.js

This is what I wanted. I didn't realize it till I started playing with it some but basically I didn't like how the splat object was being populated w/ the module name sometimes and at other times it would just be the parameters.

This was causing me to check for the module name inside each of my modules that interrogated the splat object.

Also, I'm overriding the [`router.autoConvertRouteToModuleId(route, params)`](https://github.com/BlueSpire/Durandal/blob/master/App/durandal/plugins/router.js#L73) like so:
```
router.autoConvertRouteToModuleId = function(url) {
return 'areas/' + url + '/index';
}
```

I didn't see this method documented in your Wiki but I'm hoping I'm using it as you intended.

Thanks,
Evan