]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_segment_controller.rb
Allow the API to be taken offline completely as well as being put into
[rails.git] / app / controllers / old_segment_controller.rb
index 2d48fb5b9489547e6d8b423d4221990a20f81461..410760f2b51938224d197c176ef119948f5a05c1 100644 (file)
@@ -2,6 +2,7 @@ class OldSegmentController < ApplicationController
   require 'xml/libxml'
 
   session :off
+  before_filter :check_read_availability
   after_filter :compress_output
 
   def history