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.1.7.10 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.1.7.9 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.1.7.8 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.1.7.7 lib/action_controller/metal/basic_implicit_render.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-6.1.6.1/lib/action_controller/metal/basic_implicit_render.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-7.0.2.3/lib/action_controller/metal/basic_implicit_render.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-7.0.3.1/lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.1.7.6 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.1.7.5 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.1.7.4 lib/action_controller/metal/basic_implicit_render.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-6.1.6.1/lib/action_controller/metal/basic_implicit_render.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-7.0.3.1/lib/action_controller/metal/basic_implicit_render.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-7.0.2.3/lib/action_controller/metal/basic_implicit_render.rb
actionpack-7.0.4.3 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.1.7.3 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.1.7.2 lib/action_controller/metal/basic_implicit_render.rb
actionpack-7.0.4.2 lib/action_controller/metal/basic_implicit_render.rb
actionpack-7.0.4.1 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.1.7.1 lib/action_controller/metal/basic_implicit_render.rb
actionpack-6.0.6.1 lib/action_controller/metal/basic_implicit_render.rb