summaryrefslogtreecommitdiff
path: root/app/models/hearth.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/hearth.rb')
-rw-r--r--app/models/hearth.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/hearth.rb b/app/models/hearth.rb
index ee00c0c..cbd98dc 100644
--- a/app/models/hearth.rb
+++ b/app/models/hearth.rb
@@ -1,5 +1,6 @@
class Hearth < ApplicationRecord
belongs_to :character
+ belongs_to :location
has_many :built_hearth_amenities
has_many :hearth_amenities, through: :built_hearth_amenities
has_many :hearth_plantings