Module: ActionController::BasicImplicitRender

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#default_renderObject



11
12
13
# File 'actionpack/lib/action_controller/metal/basic_implicit_render.rb', line 11

def default_render
  head :no_content
end

#send_action(method, *args) ⇒ Object



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

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