summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmmar Alakkad <aalakkad@gitlab.com>2019-09-11 09:01:51 +0000
committerAmmar Alakkad <aalakkad@gitlab.com>2019-09-11 19:47:03 +0300
commit2bf89b55c31742693ef9139c3bd82bc57268b2b0 (patch)
tree1ab65c6b0d6439e9a61490d66b988c6f2fe40dae
parentc256adb74e9933ca7e05febadc198b7ac6f96bed (diff)
downloadgitlab-ce-patch-76.tar.gz
Add enable feature flag in development to feature_flags.mdpatch-76
-rw-r--r--doc/user/project/operations/feature_flags.md16
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.