Slide 8
Slide 8 text
this.resource(‘articles’,function(){
this.route(‘new’)
});
• Passing function to resource creates an articles.index
route
• Routes defined by this call
• articles/index
• articles/new
• Renders the articles template first, with the nested route
within its outlet