Sha256: b9f1b59534b5f01c60ce414096768a4848634f9082386ffacf8a3029297f18f1

Contents?: true

Size: 561 Bytes

Versions: 57

Compression:

Stored size: 561 Bytes

Contents

module Plutonium
  module Core
    module Actions
      class DestroyAction < BasicAction
        private

        def action_options
          {
            icon: "outline/trash-bin",
            route_options: Plutonium::Core::Action::RouteOptions.new(method: :delete),
            color: :red,
            confirmation: "Are you sure?",
            turbo_frame: "_top",
            collection_record_action: true,
            record_action: true,
            category: :standard,
            position: 100
          }
        end
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
plutonium-0.15.9 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.8 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.7 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.6 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.5 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.4 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.3 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.2 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.1 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.0 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.0.pre.rc3 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.0.pre.rc2 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.15.0.pre.rc1 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.14.1 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.14.0 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.13.3 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.13.2 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.13.1 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.13.0 lib/plutonium/core/actions/destroy_action.rb
plutonium-0.12.14 lib/plutonium/core/actions/destroy_action.rb