# File lib/action_dispatch/routing/url_for.rb, line 143 def url_for(options = nil) case options when String options when nil, Hash _routes.url_for((options || {}).symbolize_keys.reverse_merge!(url_options)) else polymorphic_url(options) end end