mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update Renderer
This commit is contained in:
parent
cc852e2580
commit
8a1f057a26
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue