refactoring of project

This commit is contained in:
Marco Zeisler
2020-04-21 13:19:01 +02:00
parent c0a5b794ec
commit c5cc225ca6
7 changed files with 17 additions and 56 deletions
+8 -2
View File
@@ -1,4 +1,10 @@
<h1>People#show basic</h1>
<p>Find me in app/views/people/show.html.erb</p>
<%= @people %>
This is the result for your basic people search:
<% @people.each do |person| %>
<p>
<%= person.first_name %>
<%= person.last_name %>
<%= button_to people_show_detailed_path %> [add to favs]
</p>
<% end %>