Class: SimplePaginate::Generators::ConfigGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_config_fileObject



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

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