summaryrefslogtreecommitdiff
path: root/app/controllers/projects/google_cloud/configuration_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/google_cloud/configuration_controller.rb')
-rw-r--r--app/controllers/projects/google_cloud/configuration_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/google_cloud/configuration_controller.rb b/app/controllers/projects/google_cloud/configuration_controller.rb
index 06a6674d578..e109ab95d39 100644
--- a/app/controllers/projects/google_cloud/configuration_controller.rb
+++ b/app/controllers/projects/google_cloud/configuration_controller.rb
@@ -15,7 +15,7 @@ module Projects
gcpRegions: gcp_regions,
revokeOauthUrl: revoke_oauth_url
}
- @js_data = js_data.to_json
+ @js_data = Gitlab::Json.dump(js_data)
track_event(:render_page)
end