Sha256: 16e080808e67e3516a59593332d4ac004968f27c401362cf4c47037b9ddf523d

Contents?: true

Size: 428 Bytes

Versions: 7

Compression:

Stored size: 428 Bytes

Contents

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

7 entries across 7 versions & 1 rubygems

Version Path
rails_admin-3.0.0 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.0.0.rc4 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.0.0.rc3 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.0.0.rc2 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.0.0.rc lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.0.0.beta2 lib/rails_admin/config/fields/types/integer.rb
rails_admin-3.0.0.beta lib/rails_admin/config/fields/types/integer.rb