Revision 1760e128
Added by Justin Sherrill about 10 years ago
app/models/katello/content_view_history.rb | ||
---|---|---|
belongs_to :environment, :class_name => "Katello::KTEnvironment", :inverse_of => :content_view_histories,
|
||
:foreign_key => :katello_environment_id
|
||
belongs_to :content_view_version, :class_name => "Katello::ContentViewVersion", :foreign_key => :katello_content_view_version_id
|
||
belongs_to :task, :class_name => "ForemanTasks::Task::DynflowTask", :foreign_key => :task_id
|
||
|
||
validates :environment, :presence => true
|
||
validates_with Validators::KatelloDescriptionFormatValidator, :attributes => :notes
|
||
|
||
IN_PROGRESS = 'in progress'
|
Also available in: Unified diff
Adapting new dynflow work to content views UI