Skip to content
Browse files

Kill whitespace!

  • Loading branch information...
1 parent ed32c8f commit bb89f8613abdfa562445519c0dca901e2231a6bf @drogus drogus committed with vijaydev Dec 15, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 railties/lib/rails/generators/rails/app/app_generator.rb
View
6 railties/lib/rails/generators/rails/app/app_generator.rb
@@ -104,18 +104,18 @@ def stylesheets
def javascripts
empty_directory "public/javascripts"
-
+
unless options[:skip_javascript]
copy_file "public/javascripts/#{@options[:javascript]}.js"
copy_file "public/javascripts/#{@options[:javascript]}_ujs.js", "public/javascripts/rails.js"
-
+
if options[:javascript] == "prototype"
copy_file "public/javascripts/controls.js"
copy_file "public/javascripts/dragdrop.js"
copy_file "public/javascripts/effects.js"
end
end
-
+
copy_file "public/javascripts/application.js"
end

0 comments on commit bb89f86

Please sign in to comment.
Something went wrong with that request. Please try again.