]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_relation_controller.rb
Implement a hack so that we can interpolate JavaScript variables in
[rails.git] / app / controllers / old_relation_controller.rb
index b98c9da4952b3a54840127e0ea454a0e0f70fe42..eb274c4de32bf2e7c0e0b8dd8e7ba9ab13e9295e 100644 (file)
@@ -1,10 +1,9 @@
 class OldRelationController < ApplicationController
   require 'xml/libxml'
 
-  session :off
   before_filter :check_api_readable
   after_filter :compress_output
-  around_filter :api_call_handle_error
+  around_filter :api_call_handle_error, :api_call_timeout
 
   def history
     relation = Relation.find(params[:id])