lib/reactor/controllers/concerns/actions/new_event.rb in reactor-0.13.0 vs lib/reactor/controllers/concerns/actions/new_event.rb in reactor-0.14.0

- old
+ new

@@ -1,5 +1,9 @@ -class Reactor::ResourceActionable::NewEvent < Reactor::ResourceActionable::ActionEvent - perform do - action_event "new_#{resource_name}_form_viewed", target: nested_resource +module Reactor + module ResourceActionable + class NewEvent < ActionEvent + perform do + action_event "new_#{resource_name}_form_viewed", target: nested_resource + end + end end -end \ No newline at end of file +end