Class: Kaminari::Generators::ConfigGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_config_fileObject



11
12
13
# File 'lib/generators/kaminari/config_generator.rb', line 11

def copy_config_file
  template 'kaminari_config.rb', 'config/initializers/kaminari_config.rb'
end