listing people, yaaay
This commit is contained in:
parent
5d78c29208
commit
6403093135
@ -1,2 +1,6 @@
|
||||
<h1>People#list</h1>
|
||||
<p>Find me in app/views/people/list.html.erb</p>
|
||||
<!-- list.rhtml -->
|
||||
<ul>
|
||||
<% Person.find(:all).each do |person| %>
|
||||
<li>Name: <%= person.name %>, Email: <%= person.email %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user