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