Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialCarlo De Gregorio
1,319 PointsBroken after this point
I am getting this error:
Uncaught Error: each doesn't match link-to - 10:2 jquery-1.11.1.js:9183 jQuery.extend.ajaxember-handlebars-loader-0.0.1.js:4
(anonymous function) ember-handlebars-loader-0.0.1.js:3 EmberHandlebarsLoader.loadTemplates(index):27
(anonymous function)
in the console view of the inspector... ???
here is the code I think it's ref:
<ul>
{{#each}}
<li>{{link-to 'post' this.id}}{{title}}{{/link-to}}</li>
{{/each}}
</ul>
1 Answer
Michael Barlow
34,317 PointsI believe you're missing a hash in front of the initial link-to handlebar tag (e.g. {{#link-to}}...{{/link-to}} ).
Carlo De Gregorio
1,319 PointsCarlo De Gregorio
1,319 PointsOMG... ugh!
Thank you! That was it, good eye.