]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
ActionController::UnknownAction is now AbstractController::ActionNotFound
[rails.git] / app / controllers / application_controller.rb
index a90a295fb35349c397784599a437ce5941ab45cf..3d3c11d79ea588f0bd116179552e04afac496530 100644 (file)
@@ -266,7 +266,7 @@ class ApplicationController < ActionController::Base
       report_error message, :bad_request
     rescue OSM::APIError => ex
       report_error ex.message, ex.status
-    rescue ActionController::UnknownAction => ex
+    rescue AbstractController::ActionNotFound => ex
       raise
     rescue Exception => ex
       logger.info("API threw unexpected #{ex.class} exception: #{ex.message}")