diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-03-14 15:33:26 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-03-14 15:33:26 +0300 |
commit | 16592e2b45d42e22f9d1d595a1f44821c7b30441 (patch) | |
tree | a68e4f955de0564f1068f30a33d141acf04181bb /app/models/ci/build.rb | |
parent | f32e28f6faab176845a780d5b4d26881c08bcfec (diff) |
Fix review comments
- Remove unused Gitlab::Application.routes.url_helpers from Ci::Build
- Remove too much logic from a view, use Ci::Commit.matrix_builds
- Use ci_status_with_icon
- Don't describe symbols
Diffstat (limited to 'app/models/ci/build.rb')
-rw-r--r-- | app/models/ci/build.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index 6c1ca8db24f..7d33838044b 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -37,8 +37,6 @@ module Ci class Build < CommitStatus - include Gitlab::Application.routes.url_helpers - LAZY_ATTRIBUTES = ['trace'] belongs_to :runner, class_name: 'Ci::Runner' |