Sha256: e5858b99f460241b4feff4497c9f9d751ffa38dff4092dbd01acc84da1b1b794

Contents?: true

Size: 290 Bytes

Versions: 23

Compression:

Stored size: 290 Bytes

Contents

# 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

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
actionpack-7.2.0.beta3 lib/action_controller/metal/basic_implicit_render.rb
actionpack-7.2.0.beta2 lib/action_controller/metal/basic_implicit_render.rb
actionpack-7.2.0.beta1 lib/action_controller/metal/basic_implicit_render.rb