Method: ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper#call
- Defined in:
- actionpack/lib/action_dispatch/routing/route_set.rb
#call(t, method_name, args, inner_options, url_strategy) ⇒ Object
280 281 282 283 284 285 286 287 288 289 290 |
# File 'actionpack/lib/action_dispatch/routing/route_set.rb', line 280 def call(t, method_name, args, , url_strategy) = t. = .merge hash = handle_positional_args(, || {}, args, , @segment_keys) t._routes.url_for(hash, route_name, url_strategy, method_name) end |