summaryrefslogtreecommitdiff
path: root/doc/integration/sourcegraph.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-04 03:08:50 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-04 03:08:50 +0000
commitbb19d18713d1b3da7d564826f5e21e8d9f9f36cd (patch)
tree253b299d67af8b585e1db009244ae308d64ad9b3 /doc/integration/sourcegraph.md
parent4fe93274dec62ff7361a67be88e320131d66b788 (diff)
downloadgitlab-ce-bb19d18713d1b3da7d564826f5e21e8d9f9f36cd.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/integration/sourcegraph.md')
-rw-r--r--doc/integration/sourcegraph.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/integration/sourcegraph.md b/doc/integration/sourcegraph.md
index ae818f285b8..da384fa9528 100644
--- a/doc/integration/sourcegraph.md
+++ b/doc/integration/sourcegraph.md
@@ -46,13 +46,13 @@ sudo -u git -H bin/rails console RAILS_ENV=production
Then run the following command to enable the feature flag:
-```
+```ruby
Feature.enable(:sourcegraph)
```
You can also enable the feature flag only for specific projects with:
-```
+```ruby
Feature.enable(:sourcegraph, Project.find_by_full_path('my_group/my_project'))
```