method
corrections
v8.1.1 -
Show latest stable
- Class:
AbstractController::ActionNotFound
corrections()public
No documentation available.
# File actionpack/lib/abstract_controller/base.rb, line 24
def corrections # :nodoc:
@corrections ||= DidYouMean::SpellChecker.new(dictionary: controller.class.action_methods).correct(action)
end