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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-07-28 15:35:02 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-07-28 15:35:02 +0300
commit9ae1ecf876e40ce9dd64c72e025f32e38c882fd6 (patch)
tree8803b574cf48b2c8bc38e6fce295065d737bc730 /app/controllers/projects/pipelines_settings_controller.rb
parent42c035ee38a6629090da07aea818f4c9e3733075 (diff)
Extract build status badge metadata to separate class
Diffstat (limited to 'app/controllers/projects/pipelines_settings_controller.rb')
-rw-r--r--app/controllers/projects/pipelines_settings_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/pipelines_settings_controller.rb b/app/controllers/projects/pipelines_settings_controller.rb
index 85ba706e5cd..75dd3648e45 100644
--- a/app/controllers/projects/pipelines_settings_controller.rb
+++ b/app/controllers/projects/pipelines_settings_controller.rb
@@ -3,7 +3,7 @@ class Projects::PipelinesSettingsController < Projects::ApplicationController
def show
@ref = params[:ref] || @project.default_branch || 'master'
- @build_badge = Gitlab::Badge::Build.new(@project, @ref)
+ @build_badge = Gitlab::Badge::Build.new(@project, @ref).metadata
end
def update