]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_way_controller.rb
Make the polymorphic relation association work properly.
[rails.git] / app / controllers / old_way_controller.rb
index 6b0c9dd2ecd059adfa40c727499a5268bcbc6915..e72c97a0078022650a8484d08c070b7d67fed6c7 100644 (file)
@@ -1,6 +1,10 @@
 class OldWayController < ApplicationController
   require 'xml/libxml'
 
+  session :off
+  before_filter :check_read_availability
+  after_filter :compress_output
+
   def history
     begin
       way = Way.find(params[:id])