Skip to content

Commit

Permalink
added list of authors to paper show page, solved #30
Browse files Browse the repository at this point in the history
  • Loading branch information
akuchinke committed Nov 9, 2017
1 parent 8798e50 commit d73fa9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/views/papers/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@
<strong>year:</strong>
<%= @paper.year %>
</p>

<p><strong>Authors:</strong></p>
<% @paper.authors.each do |author| %>
<p><%= author.first_name %> <%= author.last_name %></p>
<% end %>

0 comments on commit d73fa9a

Please sign in to comment.