Complete Lesson 37 Part 1
This commit is contained in:
parent
6f95e3b3dc
commit
e8e6b38b3e
@ -26,4 +26,12 @@
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if @favorite_movies.present? %>
|
||||
<h3>Favorite Movies</h3>
|
||||
<div class="favorite-movies">
|
||||
<% @favorite_movies.each do |movie| %>
|
||||
<%= link_to image_tag(movie.image_file_name), movie %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
</section>
|
||||
|
Loading…
x
Reference in New Issue
Block a user