Fix trigger model

This commit is contained in:
Kamil Trzcinski 2017-03-05 18:30:58 +01:00
parent 4ac1467c5c
commit ab972295bc
No known key found for this signature in database
GPG key ID: 4505F5C7E12C6A5A

View file

@ -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