Method: Locale.init_root
- Defined in:
- app/models/locale.rb
.init_root ⇒ Object
Initialize the root-level locale.
40 41 42 |
# File 'app/models/locale.rb', line 40 def self.init_root Locale.find_or_create_by(:name => 'Earth') end |
Initialize the root-level locale.
40 41 42 |
# File 'app/models/locale.rb', line 40 def self.init_root Locale.find_or_create_by(:name => 'Earth') end |