Skip to content

Commit

Permalink
Merge pull request #12754 from mkllnk/hu-mini-magick-fix
Browse files Browse the repository at this point in the history
Load MiniMagick before use
  • Loading branch information
mkllnk authored Aug 9, 2024
2 parents caa2764 + 93edf4e commit cad0245
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/enterprise.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: false

require "mini_magick"

class Enterprise < ApplicationRecord
SELLS = %w(unspecified none own any).freeze
ENTERPRISE_SEARCH_RADIUS = 100
Expand Down
2 changes: 2 additions & 0 deletions app/models/spree/image.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require "mini_magick"

module Spree
class Image < Asset
has_one_attached :attachment, service: image_service do |attachment|
Expand Down

0 comments on commit cad0245

Please sign in to comment.