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



13
14
15
# File 'lib/action_controller/metal/basic_implicit_render.rb', line 13

def default_render
  head :no_content
end

#send_action(method, *args) ⇒ Object



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

def send_action(method, *args)
  ret = super
  default_render unless performed?
  ret
end