Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 9c2c25c1a1
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.377 kb
module ActionController
module ImplicitRender
def send_action(method, *args)
ret = super
default_render unless response_body
ret
end
def default_render(*args)
render(*args)
end
def method_for_action(action_name)
super || if template_exists?(action_name.to_s, _prefixes)
"default_render"
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.