Class: AnafHabtmGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject


6
7
8
9
# File 'lib/generators/anaf_habtm/anaf_habtm_generator.rb', line 6

def copy_initializer_file
  copy_file "nested_attributes.js", "public/javascripts/nested_attributes.js"
  copy_file "nested_attributes.css", "public/stylesheets/nested_attributes.css"
end