Class: Audited::Generators::TranslationsGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_locales_fileObject



7
8
9
# File 'lib/generators/audited/translations_generator.rb', line 7

def copy_locales_file
  template 'locale.rb', File.join('config/locales/audited_serialize.ru.yml')
end