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

API docs for the router on the current site show the old match().to() pattern. Updated them for the current router.