Fix deprecation warning:
authorWard Vandewege <ward@clinicalfuture.com>
Mon, 11 Nov 2013 17:52:46 +0000 (12:52 -0500)
committerWard Vandewege <ward@clinicalfuture.com>
Mon, 11 Nov 2013 17:56:48 +0000 (12:56 -0500)
  do not use ActionController::UnknownAction

apps/workbench/app/controllers/application_controller.rb

index 99bcbe40dd2c60a131b10f8b69fffddd424cb2e4..126dbbe14e38dad895e0cca308b9e57670d30ef0 100644 (file)
@@ -13,7 +13,7 @@ class ApplicationController < ActionController::Base
     :with => :render_not_found
     rescue_from ActionController::UnknownController,
     :with => :render_not_found
-    rescue_from ActionController::UnknownAction,
+    rescue_from ::AbstractController::ActionNotFound,
     :with => :render_not_found
   end