Skip to content

Support overloading parameter based predicate #64

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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