Skip to content

Commit

Permalink
Merge pull request rails#51907 from higher-pixels/no-doc-preview-imag…
Browse files Browse the repository at this point in the history
…e-needed

Mark `preview_image_needed_before_processing_variants?` as private API
  • Loading branch information
carlosantoniodasilva authored May 24, 2024
2 parents d189cbc + 5192f31 commit 8150212
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def representable?
variable? || previewable?
end

def preview_image_needed_before_processing_variants?
def preview_image_needed_before_processing_variants? # :nodoc:
previewable? && !preview_image.attached?
end

Expand Down

0 comments on commit 8150212

Please sign in to comment.