From 936f93a6480412299df0fa3d19595b950b680fdd Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sat, 15 Oct 2016 11:12:41 +0200 Subject: [PATCH] Fix beforeEnter signature in docs --- docs/ja/api/options.md | 2 +- docs/zh-cn/api/options.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ja/api/options.md b/docs/ja/api/options.md index 2123b9997..459677d1c 100644 --- a/docs/ja/api/options.md +++ b/docs/ja/api/options.md @@ -15,7 +15,7 @@ redirect?: string | Location | Function; alias?: string | Array; children?: Array; // ネストされたルート用 - beforeEnter?: (route: Route, redirect: Function, next: Function) => void; + beforeEnter?: (to: Route, from: Route, next: Function) => void; meta?: any; } ``` diff --git a/docs/zh-cn/api/options.md b/docs/zh-cn/api/options.md index 3a4486280..4955fba75 100644 --- a/docs/zh-cn/api/options.md +++ b/docs/zh-cn/api/options.md @@ -15,7 +15,7 @@ redirect?: string | Location | Function; alias?: string | Array; children?: Array; // for nested routes - beforeEnter?: (route: Route, redirect: Function, next: Function) => void; + beforeEnter?: (to: Route, from: Route, next: Function) => void; meta?: any; } ```