mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove api_rendering is not needed
This commit is contained in:
parent
4204778f8d
commit
38818c93a9
3 changed files with 1 additions and 19 deletions
|
@ -42,10 +42,6 @@ module ActionController
|
|||
autoload :UrlFor
|
||||
end
|
||||
|
||||
autoload_under "api" do
|
||||
autoload :ApiRendering
|
||||
end
|
||||
|
||||
autoload :TestCase, 'action_controller/test_case'
|
||||
autoload :TemplateAssertions, 'action_controller/test_case'
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@ module ActionController
|
|||
|
||||
UrlFor,
|
||||
Redirecting,
|
||||
ApiRendering,
|
||||
Rendering,
|
||||
Renderers::All,
|
||||
ConditionalGet,
|
||||
RackDelegation,
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
module ActionController
|
||||
module ApiRendering
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
include Rendering
|
||||
end
|
||||
|
||||
def render_to_body(options = {})
|
||||
_process_options(options)
|
||||
super
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue