Sha256: ab433e525ac3c453437b9f44ffa173cd508d40c97da05e2b4b89eb56ec15b709

Contents?: true

Size: 202 Bytes

Versions: 8

Compression:

Stored size: 202 Bytes

Contents

module Reactor
  module ResourceActionable
    class NewEvent < ActionEvent
      perform do
        action_event "new_#{resource_name}_form_viewed", target: nested_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/new_event.rb
reactor-0.18.0 lib/reactor/controllers/concerns/actions/new_event.rb
reactor-0.17.0 lib/reactor/controllers/concerns/actions/new_event.rb
reactor-0.16.1 lib/reactor/controllers/concerns/actions/new_event.rb
reactor-0.16.0 lib/reactor/controllers/concerns/actions/new_event.rb
reactor-0.15.1 lib/reactor/controllers/concerns/actions/new_event.rb
reactor-0.15.0 lib/reactor/controllers/concerns/actions/new_event.rb
reactor-0.14.0 lib/reactor/controllers/concerns/actions/new_event.rb