- Pass routing options instead of previous controller name to controller actions
- Add previousControllerName to routing options
- Separate query string from the path and add it to the routing options
- Route#extractQueryParams uses options.queryString or location.search
- Cleanup and comments for consistency
Also pass the routing options to before actions. The return value of the previous action is now the third param (breaking change).
Adjusted Dispatcher spec, cleanup and fixes
Fix and improve the whole Router spec
Fix and improve Layout specs
Merge pull request #353 from chaplinjs/topics/routing-params-options

Fix query string to params, pass routing options.