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_render(*args) ⇒ Object


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

def default_render(*args)
  head :no_content
end

#send_action(method, *args) ⇒ Object


3
4
5
# File 'actionpack/lib/action_controller/metal/basic_implicit_render.rb', line 3

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