app/models/concerns/sufia/with_events.rb in sufia-7.1.0 vs app/models/concerns/sufia/with_events.rb in sufia-7.2.0

- old
+ new

@@ -1,8 +1,12 @@ module Sufia module WithEvents def stream - Nest.new(self.class.name)[to_param] + Nest.new(event_class)[to_param] + end + + def event_class + self.class.name end def event_store RedisEventStore end