Skip to content

Commit

Permalink
Refs #10: Add author detail link
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBrendel committed Nov 3, 2017
1 parent 62578c9 commit 9f438ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/authors/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
<tr>
<th>Name</th>
<th>Homepage</th>
<th>Show</th>
</tr>

<% @authors.each do |author| %>
<tr>
<td><%= author.name %></td>
<td><%= author.homepage %></td>
<td><%= link_to 'Show', author %></td>
</tr>
<% end %>
</table>

0 comments on commit 9f438ab

Please sign in to comment.