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



11
12
13
# File '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 'lib/action_controller/metal/basic_implicit_render.rb', line 5

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