Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn features on and off with URL parameter #17

Open
evgenyneu opened this issue Feb 26, 2014 · 1 comment
Open

Turn features on and off with URL parameter #17

evgenyneu opened this issue Feb 26, 2014 · 1 comment

Comments

@evgenyneu
Copy link

Hello friends,

Is there a way to turn the features on and off by adding URL parameter.

Like http://mysite.com?new-header=true?

Thank you

@amiel
Copy link

amiel commented Sep 8, 2015

@evgenyneu I think you could pretty easily accomplish this by implementing a strategy.

You could basically copy the cookie strategy, and change it to use params instead of cookies. Also, you would probably want to define switchable? to return false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants