diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-04-11 13:54:55 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-04-11 13:54:55 +0000 |
commit | 28bae3b6bc35d760f51577b30a790c7d3d186588 (patch) | |
tree | c69a34fdc41d476ca3ea568a9820617b1c035d79 /app/controllers/projects/commit_controller.rb | |
parent | f16c6269e1ad3f7acfb63ad8a622248eaced271c (diff) | |
download | gitlab-ce-28bae3b6bc35d760f51577b30a790c7d3d186588.tar.gz |
Resolve "tree/master shows incorrect CI build status"
Diffstat (limited to 'app/controllers/projects/commit_controller.rb')
-rw-r--r-- | app/controllers/projects/commit_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb index effb484ef0f..b7f548e0e63 100644 --- a/app/controllers/projects/commit_controller.rb +++ b/app/controllers/projects/commit_controller.rb @@ -34,6 +34,7 @@ class Projects::CommitController < Projects::ApplicationController def pipelines @pipelines = @commit.pipelines.order(id: :desc) + @pipelines = @pipelines.where(ref: params[:ref]) if params[:ref] respond_to do |format| format.html |