From 65b9abf56114b629a3cd3f59f395d20b692bae89 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Sun, 11 May 2014 14:53:50 +0200 Subject: [PATCH] docs, make `ActionNotFound` public API. [ci skip] This is a follow up to #15058. This exception is regularly raised during development. This means it will enter the user realm. We should provide an API page to show that this exception is public API. /cc @schneems --- actionpack/lib/abstract_controller/base.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb index 8d1c228657..c00f0d0c6f 100644 --- a/actionpack/lib/abstract_controller/base.rb +++ b/actionpack/lib/abstract_controller/base.rb @@ -8,7 +8,8 @@ module AbstractController class Error < StandardError #:nodoc: end - class ActionNotFound < StandardError #:nodoc: + # Raised when a non-existing controller action is triggered. + class ActionNotFound < StandardError end # AbstractController::Base is a low-level API. Nobody should be -- GitLab