We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aacbe0 commit b55773bCopy full SHA for b55773b
app/views/publications/show.html.erb
@@ -11,7 +11,7 @@
11
<%= @publication.publication_authors.size == 1 ? 'Author' : 'Authors' %>
12
</dt>
13
<dd>
14
- <% @publication.publication_authors.each_with_key do |p_author, k| %>
+ <% @publication.publication_authors.each_with_index do |p_author, k| %>
15
<% author = p_author.author %>
16
<%= '; ' if k > 0 %>
17
<%= link_to author.full_name, author %>
0 commit comments