refactoring of project
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user