Challenge Solution: Display Comments
The solution to the Display Comments challenge.
We'll cover the following...
Solution
//= link_tree ../images //= link_directory ../javascripts .js //= link_directory ../stylesheets .css
Explanation
app/views/links/show.html.erb
Line 16: Use @link.comments
to access all the comments associated with our @link
...