Permalink
Browse files

Update Renderer

  • Loading branch information...
1 parent cc852e2 commit 8a1f057a26135f9b94717d72fff704843f56f521 Yehuda Katz committed Feb 18, 2010
Showing with 4 additions and 5 deletions.
  1. +4 −5 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

0 comments on commit 8a1f057

Please sign in to comment.