Class: Dato::Local::FieldType::Link
- Inherits:
-
Object
- Object
- Dato::Local::FieldType::Link
- Defined in:
- lib/dato/local/field_type/link.rb
Class Method Summary collapse
Class Method Details
.parse(value, repo) ⇒ Object
7 8 9 |
# File 'lib/dato/local/field_type/link.rb', line 7 def self.parse(value, repo) value && repo.find(value) end |