Flowdock
method

path_for

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActionDispatch::Http::URL
path_for(options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/url.rb, line 69
        def path_for(options)
          path = options[:script_name].to_s.chomp("/".freeze)
          path << options[:path] if options.key?(:path)

          add_trailing_slash(path) if options[:trailing_slash]
          add_params(path, options[:params]) if options.key?(:params)
          add_anchor(path, options[:anchor]) if options.key?(:anchor)

          path
        end
Register or log in to add new notes.