Replaced old match().to() pattern with resource()/route()
Merge pull request #2111 from rafshar/router-docs

Replaced old match().to() pattern with resource()/route()