From bbe54ce0836026fcf078826de54fc9d862410c08 Mon Sep 17 00:00:00 2001 From: Patrick McDonald Date: Tue, 18 Oct 2016 18:07:39 -0400 Subject: [PATCH] Fix CanViews to ViewCans in Nav Guard section --- src/navigation/nav-controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/navigation/nav-controller.ts b/src/navigation/nav-controller.ts index 7a71fafe96..7db85ff453 100644 --- a/src/navigation/nav-controller.ts +++ b/src/navigation/nav-controller.ts @@ -252,7 +252,7 @@ import { ViewController } from './view-controller'; * .catch(()=> console.log('should I stay or should I go now')) * } * - * ionCanViewLeave(): boolean{ + * ionViewCanLeave(): boolean{ * // here we can either return true or false * // depending on if we want to leave this view * if(isValid(randomValue)){ @@ -284,7 +284,7 @@ import { ViewController } from './view-controller'; * constructor( * public navCtrl: NavController * ){} - * ionCanViewEnter(): boolean{ + * ionViewCanEnter(): boolean{ * // here we can either return true or false * // depending on if we want to leave this view * if(isValid(randomValue)){