]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_node_controller.rb
Use BETWEEN for the node selection in the map API call as MySQL seems to
[rails.git] / app / controllers / old_node_controller.rb
index 5734fefd7017c4fd8bb0cd7d79fd30dd560d32e9..0337cb2cffcec604e26f7090eff565234680c998 100644 (file)
@@ -1,6 +1,9 @@
 class OldNodeController < ApplicationController
   require 'xml/libxml'
 
 class OldNodeController < ApplicationController
   require 'xml/libxml'
 
+  session :off
+  after_filter :compress_output
+
   def history
     begin
       node = Node.find(params[:id])
   def history
     begin
       node = Node.find(params[:id])