lib/susanoo/generators/frameworks.rb in susanoo-0.5.0 vs lib/susanoo/generators/frameworks.rb in susanoo-0.5.1
- old
+ new
@@ -87,10 +87,10 @@
end
end
end
def install_templates
- template "www/index.html.erb", "#{Susanoo::Project.folder_name}/www/index.html.erb"
+ copy_file "www/index.html.erb", "#{Susanoo::Project.folder_name}/www/index.html.erb"
template "www/views/main.html", "#{Susanoo::Project.folder_name}/www/views/main.html"
template "www/assets/javascripts/application.js", "#{Susanoo::Project.folder_name}/www/assets/javascripts/application.js"
template "www/assets/javascripts/functions.js", "#{Susanoo::Project.folder_name}/www/assets/javascripts/functions.js"
template "www/assets/javascripts/variables.js", "#{Susanoo::Project.folder_name}/www/assets/javascripts/variables.js"