X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb953006a1a8fe2949f376e167dda963dfd784bd..6a77bbe544b9866844473230b0c2406062ab9b5b:/app/controllers/api/ways_controller.rb diff --git a/app/controllers/api/ways_controller.rb b/app/controllers/api/ways_controller.rb index e5841e2ad..9af087d83 100644 --- a/app/controllers/api/ways_controller.rb +++ b/app/controllers/api/ways_controller.rb @@ -28,7 +28,7 @@ module Api if @way.visible # Render the result - render formats: [:xml] + render :formats => [:xml] else head :gone end @@ -75,7 +75,7 @@ module Api end # Render the result - render formats: [:xml] + render :formats => [:xml] else head :gone end @@ -93,7 +93,7 @@ module Api @ways = Way.find(ids) # Render the result - render formats: [:xml] + render :formats => [:xml] end ## @@ -106,7 +106,7 @@ module Api @ways = Way.where(:id => wayids, :visible => true) # Render the result - render formats: [:xml] + render :formats => [:xml] end end end