Sha256: 93b0404e9e076922c508af012e5bc83b2cb540e7a9d05ed9e9104ab678cbbaf2

Contents?: true

Size: 478 Bytes

Versions: 2

Compression:

Stored size: 478 Bytes

Contents

module Avo
  module Concerns
    module CanReorderItems
      extend ActiveSupport::Concern

      included do
        if defined? Avo::Pro::Concerns::CanReorderItems
          include Avo::Pro::Concerns::CanReorderItems
        end
      end

      def can_reorder?
        false
      end

      def can_dnd_reorder?
        false
      end

      def drag_reorder_attributes
        ""
      end

      def drag_reorder_item_attributes
        ""
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
avo-3.5.1 lib/avo/concerns/can_reorder_items.rb
avo-3.5.0 lib/avo/concerns/can_reorder_items.rb