instance method
formats
Ruby on Rails 7.0.10
Since v5.2.8.1Returns the formats that can be processed by the controller.
Source
# File actionpack/lib/abstract_controller/base.rb, line 44
attr_internal :formats
Defined in actionpack/lib/abstract_controller/base.rb line 44
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AbstractController::Base