Module: ActionController::ImplicitRender
- Defined in:
- actionpack/lib/action_controller/metal/implicit_render.rb
Instance Method Summary (collapse)
- - (Object) default_render(*args)
- - (Object) method_for_action(action_name)
- - (Object) send_action(method, *args)
Instance Method Details
- (Object) default_render(*args)
9 10 11 |
# File 'actionpack/lib/action_controller/metal/implicit_render.rb', line 9 def default_render(*args) render(*args) end |
- (Object) method_for_action(action_name)
13 14 15 16 17 |
# 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 |
- (Object) send_action(method, *args)
3 4 5 6 7 |
# File 'actionpack/lib/action_controller/metal/implicit_render.rb', line 3 def send_action(method, *args) ret = super default_render unless response_body ret end |