app/services/hyrax/actor_factory.rb in hyrax-1.0.0.rc1 vs app/services/hyrax/actor_factory.rb in hyrax-1.0.0.rc2
- old
+ new
@@ -24,10 +24,10 @@
current_ability,
stack_actors(curation_concern))
end
def self.model_actor(curation_concern)
- actor_identifier = curation_concern.class.to_s.split('::').last
+ actor_identifier = curation_concern.class.to_s
"Hyrax::Actors::#{actor_identifier}Actor".constantize
end
end
end