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

7 lines
138 B
Text

- client = client_js_flags
- if client
= javascript_tag do
:plain
gl = window.gl || {};
gl.client = #{client.to_json};