Class: Administrate::Field::ScopedHasMany

Inherits:
HasMany
  • Object
show all
Defined in:
lib/administrate/field/scoped_has_many.rb,
lib/administrate/field/scoped_has_many/version.rb

Defined Under Namespace

Classes: Engine

Constant Summary collapse

VERSION =
'0.1.0'.freeze

Instance Method Summary collapse

Instance Method Details

#to_partial_pathObject



14
15
16
# File 'lib/administrate/field/scoped_has_many.rb', line 14

def to_partial_path
  "/fields/#{self.class.superclass.field_type}/#{page}"
end

#to_sObject



10
11
12
# File 'lib/administrate/field/scoped_has_many.rb', line 10

def to_s
  data
end