1
0
Fork 0
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:
Santiago Pastorino 2015-04-21 16:35:18 -04:00
parent 4204778f8d
commit 38818c93a9
3 changed files with 1 additions and 19 deletions

View file

@ -42,10 +42,6 @@ module ActionController
autoload :UrlFor autoload :UrlFor
end end
autoload_under "api" do
autoload :ApiRendering
end
autoload :TestCase, 'action_controller/test_case' autoload :TestCase, 'action_controller/test_case'
autoload :TemplateAssertions, 'action_controller/test_case' autoload :TemplateAssertions, 'action_controller/test_case'

View file

@ -127,7 +127,7 @@ module ActionController
UrlFor, UrlFor,
Redirecting, Redirecting,
ApiRendering, Rendering,
Renderers::All, Renderers::All,
ConditionalGet, ConditionalGet,
RackDelegation, RackDelegation,

View file

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