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
|
||||
require 'xml/libxml'
|
||||
|
||||
after_filter :compress_output
|
||||
|
||||
def history
|
||||
begin
|
||||
node = Node.find(params[:id])
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
class OldSegmentController < ApplicationController
|
||||
require 'xml/libxml'
|
||||
|
||||
after_filter :compress_output
|
||||
|
||||
def history
|
||||
begin
|
||||
segment = Segment.find(params[:id])
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
class OldWayController < ApplicationController
|
||||
require 'xml/libxml'
|
||||
|
||||
after_filter :compress_output
|
||||
|
||||
def history
|
||||
begin
|
||||
way = Way.find(params[:id])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue