diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-05-03 00:10:17 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-05-03 00:17:53 +0800 |
commit | e69a7b95df4aea964878086157487379705c9a8c (patch) | |
tree | 116a6bdda7e83a49c2c24ba6541571e1799d7b2a /app/models/commit.rb | |
parent | 98ae016ab207a7f4e27d151584156af6011d48d5 (diff) | |
download | gitlab-ce-e69a7b95df4aea964878086157487379705c9a8c.tar.gz |
Always show latest pipeline info in commit box
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index bb4cb8efd15..e37c2d6bbd6 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -237,7 +237,7 @@ class Commit end def latest_pipeline - pipelines.last + @latest_pipeline ||= pipelines.last end def status(ref = nil) |