mardi 24 novembre 2015

Disconnecting a modal emberjs

Disconnecting this outlet (from my application route)

this.disconnectOutlet({
  outlet: 'modal',
  parentView: 'application'
});

gives this error:

Uncaught TypeError: this.disconnectOutlet is not a function

How can I disconnect the modal outlet?

application.hbs:

{{outlet}}
{{outlet 'modal'}}




Aucun commentaire:

Enregistrer un commentaire