return
end
- if request.format == :html and !params[:bbox]
+ if request.format == :html and !params[:list]
require_oauth
render :action => :history, :layout => map_layout
else
changesets = changesets.where("changesets.id <= ?", params[:max_id])
end
- @edits = changesets.order("changesets.created_at DESC").limit(20).preload(:user, :changeset_tags)
+ @edits = changesets.order("changesets.id DESC").limit(20).preload(:user, :changeset_tags)
render :action => :list, :layout => false
end