-
-
Notifications
You must be signed in to change notification settings - Fork 3
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)
endBut wondered if this is a good approach?
Metadata
Metadata
Assignees
Labels
No labels