We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 807fe15 commit fa1d6fdCopy full SHA for fa1d6fd
app/models/concerns/better_together/categorizable.rb
@@ -28,12 +28,6 @@ def with_cover_images
28
end
29
30
31
- def cover_image
32
- super() if respond_to?(:cover_image) && super().attached?
33
-
34
- categories.with_cover_images.first.cover_image if respond_to?(:categories) && categories.with_cover_images.any?
35
- end
36
37
def extra_permitted_attributes
38
super + extra_category_permitted_attributes
39
0 commit comments