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
require 'xml/libxml'
after_filter :compress_output
def history
begin
node = Node.find(params[:id])

View file

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

View file

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