Skip to content

Support overloading parameter based predicate #64

@matteeyah

Description

@matteeyah

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions