Commit b32eabb1 authored by Matija Čupić's avatar Matija Čupić

Alias value to secret_value in Ci::PipelineVariable

parent 3a5773ce
......@@ -5,6 +5,8 @@ module Ci
belongs_to :pipeline
alias_attribute :secret_value, :value
validates :key, uniqueness: { scope: :pipeline_id }
end
end
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