Class: MitakeApi::Generators::I18nGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_locale_ymlObject



6
7
8
# File 'lib/generators/mitake_api/i18n_generator.rb', line 6

def copy_locale_yml
  template './zh-TW.yaml', File.join('config/locales/', 'mitake_api.yml')
end