aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/action_controller/metal/basic_implicit_render.rb
blob: f9a758ff0e287e5a5ef7ed45fd9c0e9b9784eaba (plain) (tree)
1
2
3
4
5
6
7
8
9

                             
                       
                                      



                                                    
                      



                      
# frozen_string_literal: true

module ActionController
  module BasicImplicitRender # :nodoc:
    def send_action(method, *args)
      super.tap { default_render unless performed? }
    end

    def default_render
      head :no_content
    end
  end
end