Skip to content

Disable by Regular Expression #5

@djones

Description

@djones

A feature request, not a bug.

I'd like to be able to disable bot-away by namespace. So in Refinery CMS say, I don't want bot-away to run on any non-public facing admin controllers. This is how I expect it would work:

BotAway.disabled_for controller: /^Admin/

But right now I have to specifically exclude each controller.

Thanks for a great gem by the way!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions