]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_node_controller.rb
Allow the API to be taken offline completely as well as being put into
[rails.git] / app / controllers / old_node_controller.rb
index 5734fefd7017c4fd8bb0cd7d79fd30dd560d32e9..e27898336361832ed193c9d1b3c8de04ddb14a41 100644 (file)
@@ -1,6 +1,10 @@
 class OldNodeController < ApplicationController
   require 'xml/libxml'
 
+  session :off
+  before_filter :check_read_availability
+  after_filter :compress_output
+
   def history
     begin
       node = Node.find(params[:id])