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