Sha256: a8eb12ea2eaeaf8864746b2f4a5fb834f1c06f6db816873bdff61718207b03f0
Contents?: true
Size: 526 Bytes
Versions: 6
Compression:
Stored size: 526 Bytes
Contents
module NestedForm module Generators class InstallGenerator < Rails::Generators::Base def self.source_root File.expand_path('../../../../vendor/assets/javascripts', __FILE__) end def copy_jquery_file if File.exists?('public/javascripts/prototype.js') copy_file 'prototype_nested_form.js', 'public/javascripts/nested_form.js' else copy_file 'jquery_nested_form.js', 'public/javascripts/nested_form.js' end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems