diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-03-05 18:30:58 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-03-05 18:53:20 +0100 |
commit | ab972295bc0ec6db90ae451904a867788d66f49d (patch) | |
tree | 215344bf444d5f2ffb742c659730cb3f8de21743 | |
parent | 4ac1467c5ce969e082d96e7b2a60ae8e1654c881 (diff) | |
download | gitlab-ce-ab972295bc0ec6db90ae451904a867788d66f49d.tar.gz |
Fix trigger model
-rw-r--r-- | app/models/ci/trigger.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/ci/trigger.rb b/app/models/ci/trigger.rb index f76f06eb9c6..8aa45b2f02e 100644 --- a/app/models/ci/trigger.rb +++ b/app/models/ci/trigger.rb @@ -10,7 +10,6 @@ module Ci has_many :trigger_requests, dependent: :destroy validates :token, presence: true, uniqueness: true - validates :owner, presence: true before_validation :set_default_values |