Commit 2bfeb8e8 authored by Peter Leitzen's avatar Peter Leitzen

Avoid global feature flags for frontend too

parent 36845e07
......@@ -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