Sha256: c24978ab88f0eb28ecae1a7acd3a599d410fde4acee0988ec25243ef6a8184e6

Contents?: true

Size: 255 Bytes

Versions: 105

Compression:

Stored size: 255 Bytes

Contents

# 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

Version data entries

105 entries across 99 versions & 8 rubygems

Version Path
actionpack-6.0.0 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.0.0.rc2 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.0.0.rc1 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.0.0.beta3 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.0.0.beta2 lib/action_controller/metal/basic_implicit_render.rb