Closed matthisamoto closed 8 years ago
Realizing if I don't use an object it seems to work fine.
Doing something like this seems to work fine, as opposed to using an object, I'm going to close.
<%= active_link_to "Home", root_path, class: 'nav-link', data: { :test => 'true' }, :active => :exclusive %>
When trying to add to class string using
html_options
param fromlink_to
, adding:active => :exclusive
doesn't seem to be working: my root link is always active, but only when including this classing object.