diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-03-13 14:57:42 -0600 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-03-26 17:03:11 -0600 |
commit | 02bc89983a4b4b81a2f6279c39622b8a14430e3d (patch) | |
tree | 00282bd6b3261d46de16a9cd0a1cbef34fe90465 /app/controllers | |
parent | 80f9aff34b07fd8dc490a06cd6281b5af4310438 (diff) | |
download | gitlab-ce-02bc89983a4b4b81a2f6279c39622b8a14430e3d.tar.gz |
Build ci/lint page
- Includes new image from gitlab-svgs
- Updates dependency for svgs
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/settings/ci_cd_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/projects/settings/ci_cd_controller.rb b/app/controllers/projects/settings/ci_cd_controller.rb index 259809f3429..96125b549b7 100644 --- a/app/controllers/projects/settings/ci_cd_controller.rb +++ b/app/controllers/projects/settings/ci_cd_controller.rb @@ -29,12 +29,12 @@ module Projects @project_runners = @project.runners.ordered @assignable_runners = current_user.ci_authorized_runners .assignable_for(project).ordered.page(params[:page]).per(20) - @shared_runners = Ci::Runner.shared.active + @shared_runners = ::Ci::Runner.shared.active @shared_runners_count = @shared_runners.count(:all) end def define_secret_variables - @variable = Ci::Variable.new(project: project) + @variable = ::Ci::Variable.new(project: project) .present(current_user: current_user) @variables = project.variables.order_key_asc .map { |variable| variable.present(current_user: current_user) } @@ -42,7 +42,7 @@ module Projects def define_triggers_variables @triggers = @project.triggers - @trigger = Ci::Trigger.new + @trigger = ::Ci::Trigger.new end def define_badges_variables |