actionpack/lib/action_controller/metal/basic_implicit_render.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

# :markup: markdown

module ActionController
  module BasicImplicitRender # :nodoc:
    def send_action(method, *args)
      ret = super
      default_render unless performed?
      ret
    end

    def default_render
      head :no_content
    end
  end
end