aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/basic_implicit_render.rb
blob: b993a6afdfacad8403d92b62b5acd08be9914e3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true
module ActionController
  module BasicImplicitRender # :nodoc:
    def send_action(method, *args)
      super.tap { default_render unless performed? }
    end

    def default_render(*args)
      head :no_content
    end
  end
end