method

add_anchor

add_anchor(path, anchor)
private

No documentation available.

# File actionpack/lib/action_dispatch/http/url.rb, line 88
        def add_anchor(path, anchor)
          if anchor
            path << "##{Journey::Router::Utils.escape_fragment(anchor.to_param)}"
          end
        end