Skip to content

Commit

Permalink
Merge pull request #14201 from jntullo/enhancement/picture_to_orchest…
Browse files Browse the repository at this point in the history
…ration_template

Add Picture to Orchestration Template
  • Loading branch information
Fryguy authored Mar 6, 2017
2 parents 77dce00 + ff6c376 commit 5cef55d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/orchestration_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class OrchestrationTemplate < ApplicationRecord
acts_as_miq_taggable

has_many :stacks, :class_name => "OrchestrationStack"
has_one :picture, :dependent => :destroy, :as => :resource, :autosave => true

default_value_for :draft, false
default_value_for :orderable, true
Expand Down

0 comments on commit 5cef55d

Please sign in to comment.