diff --git a/app/views/admin/journal_papers/merge.html.erb b/app/views/admin/journal_papers/merge.html.erb index e9cc097..c6e6279 100644 --- a/app/views/admin/journal_papers/merge.html.erb +++ b/app/views/admin/journal_papers/merge.html.erb @@ -44,6 +44,7 @@ <% end %> <% end %> <% else %> + <% i=0 %> <% journals.each do |k,v| %> <% j=0 %> <% puts ['hello',j,k,v] %> @@ -74,7 +75,9 @@ <% end %> - <% j=j+1 %> + <% j=j+1 + i =i+1 + %> <% end %> <% end %>