]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_way_controller.rb
Add :warning and :error flash messages which can be styled separately to
[rails.git] / app / controllers / old_way_controller.rb
index 6131c9c3fac36f0a019f27ff197c5c41cc10abc8..96c88d492dc777f7bb5f61c63dea885ddf83a462 100644 (file)
@@ -1,10 +1,9 @@
 class OldWayController < ApplicationController
   require 'xml/libxml'
 
 class OldWayController < ApplicationController
   require 'xml/libxml'
 
-  session :off
   before_filter :check_api_readable
   after_filter :compress_output
   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
     way = Way.find(params[:id])
 
   def history
     way = Way.find(params[:id])