module ActionController::Rendering
def process_action(*) #:nodoc:
Before processing, set the request formats in current controller formats.
def process_action(*) #:nodoc: self.formats = request.formats.map(&:ref).compact super end
def process_action(*) #:nodoc: self.formats = request.formats.map(&:ref).compact super end