Remove straggling reference to campaign_templates
This commit is contained in:
parent
c4f9176e2a
commit
216cefaa98
1 changed files with 0 additions and 1 deletions
|
@ -66,7 +66,6 @@ class Campaign < ActiveRecord::Base
|
||||||
has_many :activities, as: :host, dependent: :destroy
|
has_many :activities, as: :host, dependent: :destroy
|
||||||
belongs_to :profile
|
belongs_to :profile
|
||||||
belongs_to :nonprofit
|
belongs_to :nonprofit
|
||||||
belongs_to :campaign_template
|
|
||||||
|
|
||||||
belongs_to :parent_campaign, class_name: 'Campaign'
|
belongs_to :parent_campaign, class_name: 'Campaign'
|
||||||
has_many :children_campaigns, class_name: 'Campaign', foreign_key: 'parent_campaign_id'
|
has_many :children_campaigns, class_name: 'Campaign', foreign_key: 'parent_campaign_id'
|
||||||
|
|
Loading…
Add table
Reference in a new issue