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,10 +2,9 @@ module ActionController
|
|||
module Rendering
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
include RackDelegation
|
||||
include AbstractController::Rendering
|
||||
include AbstractController::LocalizedCache
|
||||
end
|
||||
|
||||
def process_action(*)
|
||||
self.formats = request.formats.map {|x| x.to_sym }
|
||||
|
|
Loading…
Reference in a new issue