method
add_anchor
v5.1.7 -
Show latest stable
- Class:
ActionDispatch::Http::URL
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