lundi 13 avril 2015

How to settings the routers


Router.map(function() {
this.route('login', {path: '/'});
this.route('signup');
this.route('forgot-password');
this.route('main');
});


I have the follow problem, when I use '/login' y I try manually to put /main this won't will redirect to me to '/login'


I wanna control the access because a I can navigate on all my templates if I write it into the search box





Aucun commentaire:

Enregistrer un commentaire