X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb953006a1a8fe2949f376e167dda963dfd784bd..a254efb5ec6b30601aeb82cf6380ace02d71c4e8:/app/controllers/api/relations_controller.rb diff --git a/app/controllers/api/relations_controller.rb b/app/controllers/api/relations_controller.rb index fbc958098..ba0dd0c6b 100644 --- a/app/controllers/api/relations_controller.rb +++ b/app/controllers/api/relations_controller.rb @@ -26,7 +26,7 @@ module Api response.last_modified = @relation.timestamp if @relation.visible # Render the result - render formats: [:xml] + render :formats => [:xml] else head :gone end @@ -117,7 +117,7 @@ module Api @relations << relation # Render the result - render formats: [:xml] + render :formats => [:xml] else head :gone end @@ -133,7 +133,7 @@ module Api @relations = Relation.find(ids) # Render the result - render formats: [:xml] + render :formats => [:xml] end def relations_for_way @@ -160,7 +160,7 @@ module Api end # Render the result - render formats: [:xml] + render :formats => [:xml] end end end