lundi 25 avril 2016

Is current-when got deprecated in Ember 2.x.x?

We are trying to keep the current route active when a child route is accessed from an another child route of same parent.

this.route('example', {path: '/example'}, function () {
    this.route('user', {path: '/:user1'});
    this.route('article', {path: '/:user1/:article'});
  });

When I navigate from 'user' route to 'article' route, the 'example' route is not keeping the 'user' route selected button active.




Aucun commentaire:

Enregistrer un commentaire