Class: ModerateParameters::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject



12
13
14
# File 'lib/generators/moderate_parameters/install_generator.rb', line 12

def copy_initializer
  template 'moderate_parameters.rb', 'config/initializers/moderate_parameters.rb'
end