Class: Audited::Generators::TranslationsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Audited::Generators::TranslationsGenerator
- Defined in:
- lib/generators/audited/translations_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_locales_file ⇒ Object
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 |