Sha256: b5257107d03837be12efa3b95e4d5bbcadf106fa6fad931f1a4c6b9681709eeb

Contents?: true

Size: 198 Bytes

Versions: 8

Compression:

Stored size: 198 Bytes

Contents

module Reactor
  module ResourceActionable
    class ShowEvent < ActionEvent
      perform do
        action_event "#{resource_name}_viewed", target: actionable_resource
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
reactor-0.19.0 lib/reactor/controllers/concerns/actions/show_event.rb
reactor-0.18.0 lib/reactor/controllers/concerns/actions/show_event.rb
reactor-0.17.0 lib/reactor/controllers/concerns/actions/show_event.rb
reactor-0.16.1 lib/reactor/controllers/concerns/actions/show_event.rb
reactor-0.16.0 lib/reactor/controllers/concerns/actions/show_event.rb
reactor-0.15.1 lib/reactor/controllers/concerns/actions/show_event.rb
reactor-0.15.0 lib/reactor/controllers/concerns/actions/show_event.rb
reactor-0.14.0 lib/reactor/controllers/concerns/actions/show_event.rb