Commit 548b5299 authored by Clement Ho's avatar Clement Ho

Merge branch 'pl-feature-flag-frontend-scope' into 'master'

Avoid global feature flags for frontend too

See merge request gitlab-org/gitlab!33068
parents 5ba14241 2bfeb8e8
......@@ -87,6 +87,10 @@ this method you can expose the state of a feature flag as follows:
```ruby
before_action do
# Prefer to scope it per project or user e.g.
push_frontend_feature_flag(:vim_bindings, project)
# Avoid, if possible
push_frontend_feature_flag(:vim_bindings)
end
......
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