Enable compression for object history API calls.
authorTom Hughes <tom@compton.nu>
Thu, 9 Aug 2007 11:41:38 +0000 (11:41 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 9 Aug 2007 11:41:38 +0000 (11:41 +0000)
app/controllers/old_node_controller.rb
app/controllers/old_segment_controller.rb
app/controllers/old_way_controller.rb

index 5734fefd7017c4fd8bb0cd7d79fd30dd560d32e9..27e233b2f5c62e460c6ae6a45b991638c91a2d75 100644 (file)
@@ -1,6 +1,8 @@
 class OldNodeController < ApplicationController
   require 'xml/libxml'
 
+  after_filter :compress_output
+
   def history
     begin
       node = Node.find(params[:id])
index 5d11ec906b24e8dc3c4558433ca3f04c574aae73..be5de7afd38824e42032d47fc4036cd445194671 100644 (file)
@@ -1,6 +1,8 @@
 class OldSegmentController < ApplicationController
   require 'xml/libxml'
 
+  after_filter :compress_output
+
   def history
     begin
       segment = Segment.find(params[:id])
index 6b0c9dd2ecd059adfa40c727499a5268bcbc6915..16db86555363494a6024f0dfcfd983f1023b11b6 100644 (file)
@@ -1,6 +1,8 @@
 class OldWayController < ApplicationController
   require 'xml/libxml'
 
+  after_filter :compress_output
+
   def history
     begin
       way = Way.find(params[:id])