Method: ActionDispatch::Routing::RouteSet#find_script_name

Defined in:
actionpack/lib/action_dispatch/routing/route_set.rb

#find_script_name(options) ⇒ Object

[View source]

822
823
824
# File 'actionpack/lib/action_dispatch/routing/route_set.rb', line 822

def find_script_name(options)
  options.delete(:script_name) || relative_url_root || ""
end