]> git.openstreetmap.org Git - rails.git/commitdiff
Rename api changesets index template
authorAnton Khorev <tony29@yandex.ru>
Sat, 30 Mar 2024 05:34:55 +0000 (08:34 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 30 Mar 2024 05:39:29 +0000 (08:39 +0300)
app/controllers/api/changesets_controller.rb
app/views/api/changesets/index.json.jbuilder [moved from app/views/api/changesets/changesets.json.jbuilder with 100% similarity]
app/views/api/changesets/index.xml.builder [moved from app/views/api/changesets/changesets.xml.builder with 100% similarity]

index 50cb7878232ee851fd671e51f8f3011ddcdb6c92..6eeb66e82ae7ea3c3070a4612567f635fb5283a8 100644 (file)
@@ -49,7 +49,6 @@ module Api
 
       # preload users, tags and comments, and render result
       @changesets = changesets.preload(:user, :changeset_tags, :comments)
 
       # preload users, tags and comments, and render result
       @changesets = changesets.preload(:user, :changeset_tags, :comments)
-      render "changesets"
 
       respond_to do |format|
         format.xml
 
       respond_to do |format|
         format.xml