diff options
Diffstat (limited to 'app/models/section.rb')
-rw-r--r-- | app/models/section.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/section.rb b/app/models/section.rb index a9d163e..670c543 100644 --- a/app/models/section.rb +++ b/app/models/section.rb @@ -1,6 +1,6 @@ class Section < ApplicationRecord belongs_to :category - has_ony :taxonomy, through: :category + has_one :taxonomy, through: :category acts_as_list column: :rank, scope: :category |