]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/segment_controller.rb
various gpx bits
[rails.git] / app / controllers / segment_controller.rb
index 048e599c3fb434804dcf79a2c1123d35c56cc3ed..7e77609f303a2908a14c14cebcac73cf6661ab60 100644 (file)
@@ -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'