]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_way_controller.rb
fix problem with blank areas throwing a 500
[rails.git] / app / controllers / old_way_controller.rb
index f10e0d2f0193e0550932e0d15396369fa2939f52..e72c97a0078022650a8484d08c070b7d67fed6c7 100644 (file)
@@ -2,6 +2,7 @@ class OldWayController < ApplicationController
   require 'xml/libxml'
 
   session :off
+  before_filter :check_read_availability
   after_filter :compress_output
 
   def history