gitlab-org--gitlab-foss/app/views/layouts/_init_client_detection_flag...

8 lines
150 B
Plaintext

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