From 52d9b2e53f5effc2060f0ed7866d1c9af4344ae4 Mon Sep 17 00:00:00 2001 From: Viktor Marosvary Date: Fri, 14 Oct 2016 23:09:58 +0200 Subject: [PATCH] navigation guard signature the signature of the beforeEnter changed in the new version --- docs/en/api/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/api/options.md b/docs/en/api/options.md index 50be787af..b72f2ad50 100644 --- a/docs/en/api/options.md +++ b/docs/en/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; } ```