Created
February 24, 2015 08:02
-
-
Save rahulcs/c0ed2187290f574d8223 to your computer and use it in GitHub Desktop.
nested index route code example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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