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










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

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