diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-05-11 14:53:50 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-05-11 15:22:26 +0200 |
commit | 65b9abf56114b629a3cd3f59f395d20b692bae89 (patch) | |
tree | 40c7b47e2af11406ebe7a427159735d57a43878b | |
parent | e927ff379645b558d6e6676480df1f4e523222bf (diff) | |
download | rails-65b9abf56114b629a3cd3f59f395d20b692bae89.tar.gz rails-65b9abf56114b629a3cd3f59f395d20b692bae89.tar.bz2 rails-65b9abf56114b629a3cd3f59f395d20b692bae89.zip |
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
-rw-r--r-- | actionpack/lib/abstract_controller/base.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 # <tt>AbstractController::Base</tt> is a low-level API. Nobody should be |