mardi 15 décembre 2015

render into alternative layout in ember 2

When I try to render into a alternative layout from a route, I get a error saying the layout is not found. Uncaught Error: Assertion Failed: You attempted to render into 'popup' but it was not found Is it not possible to render into a alternative layout? I want to render the view but without navigation. If I render into application it works fine

My route looks like

import Ember from 'ember';

export default Ember.Route.extend({
  model(params) {
    return this.store.find('information', params.information_id);
  },
  renderTemplate: function() {
    this.render('informations/show', {
      into: 'popup'
    });
  }


});




Aucun commentaire:

Enregistrer un commentaire