From 0ac094d2cbbb0e22ec3e7d93cc430c62be29994e Mon Sep 17 00:00:00 2001 From: Pat Cavit Date: Wed, 6 Jul 2016 13:55:07 -0700 Subject: [PATCH] Update m.route.getPath/setPath docs --- docs/v1.x-migration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/v1.x-migration.md b/docs/v1.x-migration.md index 6f4ed36f..c0dd5476 100644 --- a/docs/v1.x-migration.md +++ b/docs/v1.x-migration.md @@ -218,10 +218,10 @@ m.route("/other/route"); ```javascript // Getting the current route -m.route.getPath(); +m.route.get(); // Setting a new route -m.route.setPath("/other/route"); +m.route.set("/other/route"); ``` ## Accessing route params