Class: Fullstack::LocaleGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/fullstack/locale_generator.rb

Instance Method Summary collapse

Instance Method Details

#installObject



4
5
6
7
# File 'lib/generators/fullstack/locale_generator.rb', line 4

def install
  generate "kaminari:locale #{name}"
  generate "devise:views:locale #{name}"
end