From 8927987506b25269e021024140b256c20cafa978 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Thu, 5 Apr 2012 14:28:03 -0700 Subject: documents the contract for the argument of AD::Routing::RouteSet#url_for --- actionpack/lib/action_dispatch/routing/route_set.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb') diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 99abf4c1cf..45075050eb 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -605,6 +605,7 @@ module ActionDispatch 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 || {}) -- cgit v1.2.3