diff options
author | Teddy Wing | 2017-07-27 23:50:20 +0200 |
---|---|---|
committer | Teddy Wing | 2017-07-27 23:50:20 +0200 |
commit | 2efe1b4e0267db2874bc2d142a9ef85da1d40c56 (patch) | |
tree | f8720ee709b9991c98f659e61ee6162e7f4ba41f | |
parent | 3f343b6f150046cf1587552c134331bf359cb6f9 (diff) | |
download | Deux-Scoops-Rails-Tutorial-2efe1b4e0267db2874bc2d142a9ef85da1d40c56.tar.bz2 |
In the view example, I had used a super short block variable name, but
now that I think about it, it should really be something readable.
-rw-r--r-- | 002-Ice-cream.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/002-Ice-cream.md b/002-Ice-cream.md index 3a6c47f..d2283e4 100644 --- a/002-Ice-cream.md +++ b/002-Ice-cream.md @@ -44,9 +44,9 @@ Ice cream <% if @ice_creams.present? %> <ul> - <% @ice_creams.each do |ic| %> + <% @ice_creams.each do |ice_cream| %> <li> - <%= ic.flavor %>, <%= ic.manufacturer %> + <%= ice_cream.flavor %>, <%= ice_cream.manufacturer %> </li> <% end %> </ul> |