Commit ab972295 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix trigger model

parent 4ac1467c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment