From 8a1f057a26135f9b94717d72fff704843f56f521 Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Thu, 18 Feb 2010 12:26:16 -0800 Subject: Update Renderer --- actionpack/lib/action_controller/metal/rendering.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/actionpack/lib/action_controller/metal/rendering.rb b/actionpack/lib/action_controller/metal/rendering.rb index 0bd362fd64..b1dab8497b 100644 --- a/actionpack/lib/action_controller/metal/rendering.rb +++ b/actionpack/lib/action_controller/metal/rendering.rb @@ -2,13 +2,12 @@ module ActionController module Rendering extend ActiveSupport::Concern - included do - include AbstractController::Rendering - include AbstractController::LocalizedCache - end + include RackDelegation + include AbstractController::Rendering + include AbstractController::LocalizedCache def process_action(*) - self.formats = request.formats.map {|x| x.to_sym} + self.formats = request.formats.map {|x| x.to_sym } super end -- cgit v1.2.3