]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/map_bugs_controller.rb
back out the registration of the gpx mime type, as it didn't seem work
[rails.git] / app / controllers / map_bugs_controller.rb
index c0fc97a5f63aaf50947db6aafceb684f58a9e070..41b07eb96c4a8321e0638578e70ff1d5e4ca1798 100644 (file)
@@ -52,7 +52,7 @@ class MapBugsController < ApplicationController
          format.js
          format.xml {render :template => 'map_bugs/get_bugs.xml'}
          format.json { render :json => @bugs.to_json(:methods => [:lat, :lon], :only => [:id, :status, :date_created], :include => { :map_bug_comment => { :only => [:commenter_name, :date_created, :comment]}}) }      
          format.js
          format.xml {render :template => 'map_bugs/get_bugs.xml'}
          format.json { render :json => @bugs.to_json(:methods => [:lat, :lon], :only => [:id, :status, :date_created], :include => { :map_bug_comment => { :only => [:commenter_name, :date_created, :comment]}}) }      
-         format.gpx {render :template => 'map_bugs/get_bugs.gpx'}
+#        format.gpx {render :template => 'map_bugs/get_bugs.gpx'}
        end
   end
 
        end
   end
 
@@ -146,7 +146,7 @@ class MapBugsController < ApplicationController
          format.js
          format.xml {render :template => 'map_bugs/get_bugs.xml'}
          format.json { render :json => @bugs.to_json(:methods => [:lat, :lon], :only => [:id, :status, :date_created], :include => { :map_bug_comment => { :only => [:commenter_name, :date_created, :comment]}}) }
          format.js
          format.xml {render :template => 'map_bugs/get_bugs.xml'}
          format.json { render :json => @bugs.to_json(:methods => [:lat, :lon], :only => [:id, :status, :date_created], :include => { :map_bug_comment => { :only => [:commenter_name, :date_created, :comment]}}) }
-         format.gpx {render :template => 'map_bugs/get_bugs.gpx'}
+#        format.gpx {render :template => 'map_bugs/get_bugs.gpx'}
        end
   end
 
        end
   end