Skip to content

Commit 0019e5a

Browse files
committed
Re-add missing polymorphic category to categorization
1 parent 0ec9870 commit 0019e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/better_together/categorization.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module BetterTogether
44
class Categorization < ApplicationRecord # rubocop:todo Style/Documentation
5-
belongs_to :category
5+
belongs_to :category, polymorphic: true
66
belongs_to :categorizable, polymorphic: true, touch: true
77
end
88
end

0 commit comments

Comments
 (0)