Module: ActionController::BasicImplicitRender

Included in:
ImplicitRender
Defined in:
lib/action_controller/metal/basic_implicit_render.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#default_renderObject



9
10
11
# File 'lib/action_controller/metal/basic_implicit_render.rb', line 9

def default_render
  head :no_content
end

#send_action(method, *args) ⇒ Object



5
6
7
# File 'lib/action_controller/metal/basic_implicit_render.rb', line 5

def send_action(method, *args)
  super.tap { default_render unless performed? }
end