We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58435c9 + 5cf188f commit 4120efeCopy full SHA for 4120efe
guides/source/getting_started.md
@@ -1100,7 +1100,7 @@ Let's refactor this to use these helpers:
1100
<div id="products">
1101
<% @products.each do |product| %>
1102
<div>
1103
- <%= link_to product.name, product %>
+ <%= link_to product.name, product_path(product.id) %>
1104
</div>
1105
<% end %>
1106
@@ -1147,7 +1147,7 @@ We can update `app/views/products/index.html.erb` to link to the new action.
1147
1148
1149
1150
1151
1152
1153
0 commit comments