ActionController::UnknownAction is now AbstractController::ActionNotFound
authorTom Hughes <tom@compton.nu>
Mon, 23 Jan 2012 23:10:16 +0000 (23:10 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 15 Feb 2012 17:48:16 +0000 (17:48 +0000)
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}")