Open
Description
Using the gem I've found that the current_path includes forward slashes like this /link/
so that it fails to match the path using ==
.
I've managed to fix this by changing it to
if current_path.include? path
link_options.merge!("aria-current" => aria_current)
end
But wondered if this is a good approach?
Metadata
Metadata
Assignees
Labels
No labels