Support overloading parameter based predicate
Open
- Dominant language
- Ruby
- Stars
- 853
- Forks
- 84
- PR merge metrics
- No merged PRs in 30d
Description
## Summary
The params based `active` predicate can be extended to support overloading param values.
e.g. `active_link_to 'Link', some_path, active: { param: ['one', 'two'] }`
This would allow a link to be active if a specific parameter is either 'one' or 'two'.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.