Method: ActionController::Rendering#process_action
- Defined in:
- lib/action_controller/metal/rendering.rb
#process_action ⇒ Object
Before processing, set the request formats in current controller formats.
9 10 11 12 |
# File 'lib/action_controller/metal/rendering.rb', line 9 def process_action(*) #:nodoc: self.formats = request.formats.map { |x| x.ref } super end |