Commit 64161862 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'disable-ff-documentation' into 'master'

Adds the command for disabling a feature flag

See merge request gitlab-org/gitlab!20776
parents 7a6fee09 fa514cd5
...@@ -129,3 +129,9 @@ In the rails console (`rails c`), enter the following command to enable your fea ...@@ -129,3 +129,9 @@ In the rails console (`rails c`), enter the following command to enable your fea
```ruby ```ruby
Feature.enable(:feature_flag_name) Feature.enable(:feature_flag_name)
``` ```
Similarly, the following command will disable a feature flag:
```ruby
Feature.disable(:feature_flag_name)
```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment