# Create new Paperclip::Interpolations method for subtype class
module Paperclip::Interpolations #:nodoc:
  def subtype_class attachment, style_name
    attachment.instance.actor!.subject_type.to_s.underscore
  end
end

# Create new Paperclip::Interpolations method for subtype class
module Paperclip::Interpolations #:nodoc:
  def subtype_class attachment, style_name
    attachment.instance.actor.subject_type.to_s.underscore
  end
end

Revert "Fix paperclip interpolation in subjects without actor"
Revert "Fix paperclip interpolation in subjects without actor"

This reverts commit ce817f8b6da6690f8946e1b1015ac47b82a07051.
