aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/api/api_rendering.rb
blob: aca526531344d2250d8e3617af470777fe0c4ff8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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