1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update Renderer

This commit is contained in:
Yehuda Katz 2010-02-18 12:26:16 -08:00
parent cc852e2580
commit 8a1f057a26

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