Module: ActionController::ImplicitRender
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
Base,
::ActionView::TestCase::TestController,
Rails::ApplicationController,
Rails::InfoController,
Rails::MailersController,
Rails::WelcomeController
| |
Defined in: | actionpack/lib/action_controller/metal/implicit_render.rb |
Instance Method Summary
Instance Method Details
#default_render(*args)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/implicit_render.rb', line 9
def default_render(*args) render(*args) end
#method_for_action(action_name)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/implicit_render.rb', line 13
def method_for_action(action_name) super || if template_exists?(action_name.to_s, _prefixes) "default_render" end end
#send_action(method, *args)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/implicit_render.rb', line 3
def send_action(method, *args) ret = super default_render unless performed? ret end