Class: AwesomeNestedFields::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_jsObject



9
10
11
12
# File 'lib/generators/awesome_nested_fields/install/install_generator.rb', line 9

def copy_js
  say_status('copying', 'awesome nested fields js file', :green)
  copy_file 'jquery.nested-fields.js', 'public/javascripts/jquery.nested-fields.js'
end