aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/api/api_rendering.rb
blob: 5ff11cf855e3161f9627722d3d069e5ff5feb3ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true
module ActionController
  module ApiRendering
    extend ActiveSupport::Concern

    included do
      include Rendering
    end

    def render_to_body(options = {})
      _process_options(options)
      super
    end
  end
end