lib/reactor/controllers/concerns/actions/index_event.rb in reactor-0.13.0 vs lib/reactor/controllers/concerns/actions/index_event.rb in reactor-0.14.0
- old
+ new
@@ -1,5 +1,9 @@
-class Reactor::ResourceActionable::IndexEvent < Reactor::ResourceActionable::ActionEvent
- perform do
- action_event "#{resource_name.pluralize}_indexed", target: nested_resource
+module Reactor
+ module ResourceActionable
+ class IndexEvent < ActionEvent
+ perform do
+ action_event "#{resource_name.pluralize}_indexed", target: nested_resource
+ end
+ end
end
-end
\ No newline at end of file
+end