Skip to content

Instantly share code, notes, and snippets.

@rahulcs
Created February 24, 2015 08:02
Show Gist options
  • Save rahulcs/c0ed2187290f574d8223 to your computer and use it in GitHub Desktop.
Save rahulcs/c0ed2187290f574d8223 to your computer and use it in GitHub Desktop.
nested index route code example
export default Ember.Route.extend({
renderTemplate: function() {
this.render('site.reports.report-type.detail.index', { // the template to render
into: 'site.reports.report-type', // the template to render into
controller: 'site.reports.report-type.detail'// the controller to use for the template
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment