lib/maglev/active_storage.rb in maglevcms-1.3.0 vs lib/maglev/active_storage.rb in maglevcms-1.4.0

- old
+ new

@@ -3,12 +3,12 @@ module Maglev module ActiveStorage extend ActiveSupport::Concern included do - after_commit :save_metadata_now, on: :create - has_one_attached :file + + after_commit :save_metadata_now, on: :create, prepend: true delegate :url, :download, to: :file end private