Class: Administrate::Field::ScopedHasMany

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

Defined Under Namespace

Classes: Engine

Constant Summary

Constants included from ScopedHasManyVersion

Administrate::Field::ScopedHasManyVersion::VERSION

Instance Method Summary collapse

Instance Method Details

#to_partial_pathObject



17
18
19
# File 'lib/administrate/field/scoped_has_many.rb', line 17

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

#to_sObject



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

def to_s
  data
end