Class: Loaf::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/loaf/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_localeObject


12
13
14
# File 'lib/generators/loaf/install_generator.rb', line 12

def copy_locale
  copy_file "#{self.class.source_root}/config/locales/loaf.en.yml", "config/locales/loaf.en.yml"
end