mardi 28 février 2017

Redirect to index only parent route

I am trying to find a way to redirect to the index route if access the parent route but not redirect if a user access the parent.child1 or parent.child2 route.

Is something like this possible?

this.route('parent', function() {
      this.route('child1');
      this.route('child2');
});




Aucun commentaire:

Enregistrer un commentaire