Skip to content

Commit

Permalink
Refs #25: add show button
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBrendel committed Nov 3, 2017
1 parent 303a3a5 commit d6ea212
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/papers/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
<th>Title</th>
<th>Venue</th>
<th>Year</th>
<th>Show</th>
</tr>

<% @papers.each do |paper| %>
<tr>
<td><%= paper.title %></td>
<td><%= paper.venue %></td>
<td><%= paper.year %></td>
<td><%= link_to 'Show', paper %></td>
</tr>
<% end %>
</table>

0 comments on commit d6ea212

Please sign in to comment.