blob: c3e3b8fdf56d4bcebc9238262073898129ef14b0 (
plain) (
tree)
|
|
module ActionController
module ImplicitRender
def send_action(*)
ret = super
default_render unless response_body
ret
end
def default_render
render
end
def method_for_action(action_name)
super || begin
if template_exists?(action_name.to_s, :_prefix => controller_path)
"default_render"
end
end
end
end
end
|