debian-mirror-gitlab/app/views/layouts/_published_experiments.html.haml
2021-12-11 22:18:48 +05:30

4 lines
214 B
Text

= 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};