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

- old
+ new

@@ -1,5 +1,9 @@ -class Reactor::ResourceActionable::ShowEvent < Reactor::ResourceActionable::ActionEvent - perform do - action_event "#{resource_name}_viewed", target: actionable_resource +module Reactor + module ResourceActionable + class ShowEvent < ActionEvent + perform do + action_event "#{resource_name}_viewed", target: actionable_resource + end + end end end