mercredi 28 octobre 2015

How hide a block for a route in ember when go to a sub-route

I'm using Ember 2 and the things for Ember beginners is a pretty confuse. I've the following routes.

queries\

queries\booking

And I my router.js is

this.route('queries', function() {
    this.route('booking');
}

The queries template have some informations, and booking template is more complex. When user go to booking template I want hide some parts from queries template.

How I do this in Ember 2.0 or how I can access in a helper the route to do this?




Aucun commentaire:

Enregistrer un commentaire