Skip to content

Commit b55773b

Browse files
committed
Update show.html.erb
1 parent 8aacbe0 commit b55773b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/publications/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<%= @publication.publication_authors.size == 1 ? 'Author' : 'Authors' %>
1212
</dt>
1313
<dd>
14-
<% @publication.publication_authors.each_with_key do |p_author, k| %>
14+
<% @publication.publication_authors.each_with_index do |p_author, k| %>
1515
<% author = p_author.author %>
1616
<%= '; ' if k > 0 %>
1717
<%= link_to author.full_name, author %>

0 commit comments

Comments
 (0)