diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-29 09:43:46 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-19 17:24:03 +0100 |
commit | f6a91ccc5b21d26c677bf828fa255f16f453e1e0 (patch) | |
tree | 521d7f457c0fb607b9790c7f01b8ab27869c7558 /app/models/ci/build.rb | |
parent | 9972abc2951e2d2c7c4c94189199234c39d25ceb (diff) | |
download | gitlab-ce-f6a91ccc5b21d26c677bf828fa255f16f453e1e0.tar.gz |
Move eraseable implementation to build concern
Diffstat (limited to 'app/models/ci/build.rb')
-rw-r--r-- | app/models/ci/build.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index a421aa64658..ff100a31e7c 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -35,10 +35,9 @@ module Ci class Build < CommitStatus - include Compoundable - component :eraseable, Gitlab::Ci::Build::Eraseable - include Gitlab::Application.routes.url_helpers + include Eraseable + LAZY_ATTRIBUTES = ['trace'] belongs_to :runner, class_name: 'Ci::Runner' |