Skip to content

Commit

Permalink
Update solr_document_sidecar.rb
Browse files Browse the repository at this point in the history
Statesman upgrade: Fixes sidecar image harvesting.
  • Loading branch information
ewlarson committed Sep 11, 2023
1 parent fdc4a7a commit 6c92e9c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/models/solr_document_sidecar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ class SolrDocumentSidecar < ApplicationRecord
initial_state: :initialized
]

include Statesman::Adapters::ActiveRecordQueries[
transition_class: SidecarImageTransition,
initial_state: :initialized
]

# Deprecated - Carrierwave
mount_uploader :cw_image, ImageUploader

Expand Down

0 comments on commit 6c92e9c

Please sign in to comment.