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