8
9
10
11
12
13
14
15
16
|
# File 'lib/generators/thunderer/install_generator.rb', line 8
def copy_files
template 'thunderer.yml', 'config/thunderer.yml'
if ::Rails.version < '3.1'
copy_file '../../../../app/assets/javascripts/thunderer.js', 'public/javascripts/thunderer.js'
copy_file '../../../../app/assets/javascripts/thunderer_interceptor.js', 'public/javascripts/thunderer_interceptor.js'
copy_file '../../../../app/assets/javascripts/thunderer_subscription_service.js', 'public/javascripts/thunderer_subscription_service.js'
end
copy_file 'thunderer.ru', 'thunderer.ru'
end
|