Enable compression for object history API calls.

This commit is contained in:
Tom Hughes 2007-08-09 11:41:38 +00:00
parent 183841d10e
commit 9b04fb5789
3 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,8 @@
class OldNodeController < ApplicationController class OldNodeController < ApplicationController
require 'xml/libxml' require 'xml/libxml'
after_filter :compress_output
def history def history
begin begin
node = Node.find(params[:id]) node = Node.find(params[:id])

View file

@ -1,6 +1,8 @@
class OldSegmentController < ApplicationController class OldSegmentController < ApplicationController
require 'xml/libxml' require 'xml/libxml'
after_filter :compress_output
def history def history
begin begin
segment = Segment.find(params[:id]) segment = Segment.find(params[:id])

View file

@ -1,6 +1,8 @@
class OldWayController < ApplicationController class OldWayController < ApplicationController
require 'xml/libxml' require 'xml/libxml'
after_filter :compress_output
def history def history
begin begin
way = Way.find(params[:id]) way = Way.find(params[:id])