Class: Elabs::Language

Inherits:
ApplicationRecord show all
Includes:
Concerns::Sluggable
Defined in:
app/models/elabs/language.rb

Constant Summary collapse

SLUGGABLE_FIELD =
nil
SLUG_FIELD =
:iso639_1

Instance Attribute Summary

Attributes inherited from ApplicationRecord

#changed_by

Instance Method Summary collapse

Methods included from Concerns::Sluggable

#fill_slug

Instance Method Details

#to_paramObject



22
23
24
# File 'app/models/elabs/language.rb', line 22

def to_param
  iso639_1
end