gitlab-org--gitlab-foss/app/views/layouts/_published_experiments.html.haml

5 lines
214 B
Text
Raw Normal View History

= javascript_tag(nonce: content_security_policy_nonce) do
:plain
gl = window.gl || {};
gl.experiments = #{raw ApplicationExperiment.published_experiments.reject { |name, data| data[:excluded] }.to_json};