Module: ActionController::ImplicitRender
- Defined in:
- lib/action_controller/metal/implicit_render.rb
Instance Method Summary collapse
Instance Method Details
#default_render ⇒ Object
9 10 11 |
# File 'lib/action_controller/metal/implicit_render.rb', line 9 def default_render render end |
#method_for_action(action_name) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/action_controller/metal/implicit_render.rb', line 13 def method_for_action(action_name) super || begin if template_exists?(action_name.to_s, _prefix) "default_render" end end end |
#send_action ⇒ Object
3 4 5 6 7 |
# File 'lib/action_controller/metal/implicit_render.rb', line 3 def send_action(*) ret = super default_render unless response_body ret end |