Sha256: b39aad3140bd315002f7dec4d9ece91fabc70f58725f3bb67b65e7f9458a9377

Contents?: true

Size: 459 Bytes

Versions: 12

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

require 'rails_admin/config/fields/types/numeric'

module RailsAdmin
  module Config
    module Fields
      module Types
        class Integer < RailsAdmin::Config::Fields::Types::Numeric
          # Register field type for the type loader
          RailsAdmin::Config::Fields::Types.register(self)

          register_instance_option :sort_reverse? do
            serial?
          end
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rails_admin-3.2.1 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.2.0 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.2.0.rc lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.2.0.beta lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.1.4 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.1.3 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.1.2 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.1.1 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.1.0 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.1.0.rc2 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.1.0.rc lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.1.0.beta lib/rails_admin/config/fields/types/integer.rb