X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f4743c08ac8a80fb7e20f5540fa405ce5efb7ff6..fac305e87b9a2df59064ddad666304ceb3d7f7a7:/app/controllers/segment_controller.rb diff --git a/app/controllers/segment_controller.rb b/app/controllers/segment_controller.rb index 048e599c3..7e77609f3 100644 --- a/app/controllers/segment_controller.rb +++ b/app/controllers/segment_controller.rb @@ -2,6 +2,7 @@ class SegmentController < ApplicationController require 'xml/libxml' before_filter :authorize + after_filter :compress_output def create response.headers["Content-Type"] = 'application/xml'