Update Renderer

This commit is contained in:
Yehuda Katz 2010-02-18 12:26:16 -08:00
parent cc852e2580
commit 8a1f057a26
1 changed files with 4 additions and 5 deletions

View File

@ -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