Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `app/views/books/index.html.erb`:
- ```html
- <p id="notice"><%= notice %></p>
- <% @links.each do |link| %>
- <h3><%= link_to link.title, link %></h3>
- <p> Submited <%= time_ago_in_words(link.created_at) %> ago by <b><%= link.user.email %></b></p>
- <% end %>
- ```
Add Comment
Please, Sign In to add comment