We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb5641d commit 2406429Copy full SHA for 2406429
app/controllers/demo_controller.rb
@@ -1,8 +1,6 @@
1
class DemoController < ApplicationController
2
def reset
3
- Flipper.features.each(&:disable)
4
- Flipper.disable_percentage_of_actors(:slow_roll)
5
- Flipper.disable_percentage_of_time(:slow_roll)
+ Flipper.features.each(&:clear)
6
reset_session
7
8
flash[:notice] = "The demo is reset and ready to go through again."
0 commit comments