aboutsummaryrefslogtreecommitdiff
path: root/app/models/section.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/section.rb')
-rw-r--r--app/models/section.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/section.rb b/app/models/section.rb
index 0a1fbf2..6cfeb38 100644
--- a/app/models/section.rb
+++ b/app/models/section.rb
@@ -1,6 +1,7 @@
class Section < ApplicationRecord
belongs_to :category
has_one :taxonomy, through: :category
+ has_and_belongs_to_many :resources
acts_as_list column: :rank, scope: :category