Enable compression for object history API calls.
This commit is contained in:
parent
183841d10e
commit
9b04fb5789
3 changed files with 6 additions and 0 deletions
|
@ -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])
|
||||||
|
|
|
@ -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])
|
||||||
|
|
|
@ -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])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue