There's no documentation for this item.
Source Code
# File action_controller/routing/route_set.rb, line 405 def routes_for(options, merged, expire_on) raise "Need controller and action!" unless controller && action controller = merged[:controller] merged = options if expire_on[:controller] action = merged[:action] || 'index' routes_by_controller[controller][action][merged.keys] end
<code/>and<pre/>for code samples.