Class: SpreeContactUs::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject



8
9
10
# File 'lib/generators/spree_contact_us/install/install_generator.rb', line 8

def copy_initializer_file
  template 'spree_contact_us.rb', "#{file_name}/config/initializers/spree_contact_us.rb"
end