X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb953006a1a8fe2949f376e167dda963dfd784bd..0db30c611a99d62381217d86c5a0bd9d104efb42:/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