debian-mirror-gitlab/app/views/layouts/_init_client_detection_flags.html.haml
2019-10-12 21:52:04 +05:30

7 lines
150 B
Text

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