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








                                                    
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