2017-07-24 16:20:53 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-01-20 19:16:23 -05:00
|
|
|
module ActionController
|
|
|
|
module ApiRendering
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
|
|
|
|
included do
|
|
|
|
include Rendering
|
|
|
|
end
|
|
|
|
|
|
|
|
def render_to_body(options = {})
|
|
|
|
_process_options(options)
|
|
|
|
super
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|