app/services/hyrax/curation_concern.rb in hyrax-1.0.3 vs app/services/hyrax/curation_concern.rb in hyrax-1.0.4
- old
+ new
@@ -1,8 +1,12 @@
module Hyrax
class CurationConcern
- # This attribute is set by Hyrax::Engine
- class_attribute :actor_factory
+ # You can customize the actor stack, so long as you do so before the actor
+ # is used. Once it is used, it becomes immutable.
+ # @return [Hyrax::ActorFactory]
+ def self.actor_factory
+ Hyrax::ActorFactory
+ end
# A consumer of this method can inject a different factory
# into this class in order to change the behavior of this method.
# @param [ActiveFedora::Base] curation_concern a work to be updated
# @param [Ability] current_ability the permission object for depositing this