Sha256: 5379bce1fab3953c693def4ebfa6d89116698db019422134cfbeea273c90cd97

Contents?: true

Size: 282 Bytes

Versions: 4

Compression:

Stored size: 282 Bytes

Contents

require 'administrate/field/base'
require 'rails'

module Administrate
  module Field
    class Hidden < Administrate::Field::Base
      class Engine < ::Rails::Engine; end

      def self.searchable?
        false
      end

      def to_s
        data
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
administrate-field-hidden-0.1.0 lib/administrate/field/hidden.rb
administrate-field-hidden-0.0.3 lib/administrate/field/hidden.rb
administrate-field-hidden-0.0.2 lib/administrate/field/hidden.rb
administrate-field-hidden-0.0.1 lib/administrate/field/hidden.rb