diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/operations/feature_flags.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/user/project/operations/feature_flags.md b/doc/user/project/operations/feature_flags.md index 39ca1bd0c77..34fc4937bd0 100644 --- a/doc/user/project/operations/feature_flags.md +++ b/doc/user/project/operations/feature_flags.md @@ -247,3 +247,19 @@ else puts "hello, world!" end ``` + +## Enable a feature flag in development + +In the terminal, go to `gitlab` folder and run: + +```bash +rails console +``` + +Then add: + +```ruby +Feature.enable(:feature_name) +``` + +Replace `feature_name` with the feature that you want to enable. |