X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3a654c89197b40f4a623c0dd33b87b415623d97d..d5295fb485b136a01da5b538d1e4f096ad0fd4d4:/app/controllers/note_controller.rb diff --git a/app/controllers/note_controller.rb b/app/controllers/note_controller.rb index c46145045..6d428d822 100644 --- a/app/controllers/note_controller.rb +++ b/app/controllers/note_controller.rb @@ -52,7 +52,7 @@ class NoteController < ApplicationController format.rss format.js format.xml - format.json { render :json => @notes.to_json } + format.json format.gpx end end @@ -200,7 +200,7 @@ class NoteController < ApplicationController respond_to do |format| format.xml format.rss - format.json { render :json => @note.to_json } + format.json format.gpx end end @@ -256,7 +256,7 @@ class NoteController < ApplicationController format.rss { render :action => :list } format.js format.xml { render :action => :list } - format.json { render :json => @notes.to_json } + format.json { render :action => :list } format.gpx { render :action => :list } end end