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

- old
+ new

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