class ActionController::Middleware
def process(action)
def process(action) response = super self.status, self.headers, self.response_body = response if response.is_a?(Array) response end
def process(action) response = super self.status, self.headers, self.response_body = response if response.is_a?(Array) response end