Browse files

documents the contract for the argument of AD::Routing::RouteSet#url_for

  • Loading branch information...
1 parent e535faa commit 8927987506b25269e021024140b256c20cafa978 @fxn fxn committed Apr 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_dispatch/routing/route_set.rb
View
1 actionpack/lib/action_dispatch/routing/route_set.rb
@@ -605,6 +605,7 @@ def _generate_prefix(options = {})
nil
end
+ # The +options+ argument must be +nil+ or a hash whose keys are *symbols*.
def url_for(options)
options = default_url_options.merge(options || {})

0 comments on commit 8927987

Please sign in to comment.