Welcome to mirror list, hosted at ThFree Co, Russian Federation.

google_cloud_controller.rb « projects « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1fa8ae603768d54d331294e2fc0afe3f4b170d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class Projects::GoogleCloudController < Projects::GoogleCloud::BaseController
  def index
    @js_data = {
      screen: 'home',
      serviceAccounts: GoogleCloud::ServiceAccountsService.new(project).find_for_project,
      createServiceAccountUrl: project_google_cloud_service_accounts_path(project),
      emptyIllustrationUrl: ActionController::Base.helpers.image_path('illustrations/pipelines_empty.svg')
    }.to_json
  end
end