X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..1ff7e3ac71f0e31d6c4d26673d6357a76ef957aa:/app/views/changesets/index.html.erb?ds=inline diff --git a/app/views/changesets/index.html.erb b/app/views/changesets/index.html.erb index 1ce98301a..1e3daa081 100644 --- a/app/views/changesets/index.html.erb +++ b/app/views/changesets/index.html.erb @@ -1,10 +1,10 @@ -<% if @edits.present? %> +<% if @changesets.present? %>
    - <%= render :partial => "changeset", :collection => @edits %> + <%= render @changesets %>
-<% if @edits.size == 20 -%> +<% if @changesets.size == 20 -%>
- <%= link_to t(".load_more"), url_for(@params.merge(:max_id => @edits.last.id - 1)), :class => "button load_more" %> + <%= link_to t(".load_more"), url_for(@params.merge(:max_id => @changesets.last.id - 1)), :class => "button load_more" %>
<%= image_tag "searching.gif" %>
<% end -%>