diff options
Diffstat (limited to 'doc/integration/sourcegraph.md')
-rw-r--r-- | doc/integration/sourcegraph.md | 4 |
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')) ``` |