method

process_action

rails latest stable - Class: ActionController::Rendering
process_action(*)
private

Before processing, set the request formats in current controller formats.