Added new views that use the database
This commit is contained in:
parent
bffbab8fbc
commit
14f1f3daa6
3 changed files with 18 additions and 4 deletions
5
views/users.erb
Normal file
5
views/users.erb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<% for u in @users do %>
|
||||
<p class="subtitle is-3">
|
||||
Hello, <%= u.name %>! You're #<%= u.id %>!
|
||||
</p>
|
||||
<% end %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue