Class: Kaminari::Generators::ConfigGenerator

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

Overview

rails g kaminari:config

Instance Method Summary collapse

Instance Method Details

#copy_config_fileObject



14
15
16
# File 'lib/generators/kaminari/config_generator.rb', line 14

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