Merge pull request #8789 from patrickmcd/patch-1

Fix CanViews to ViewCans in Nav Guard section
This commit is contained in:
Manu Mtz.-Almeida
2016-10-19 00:14:30 +02:00
committed by GitHub

View File

@ -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)){