flip icon indicating copy to clipboard operation
flip copied to clipboard

Turn features on and off with URL parameter

Open evgenyneu opened this issue 11 years ago • 1 comments

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

evgenyneu avatar Feb 26 '14 23:02 evgenyneu

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

amiel avatar Sep 08 '15 18:09 amiel