diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-21 01:04:57 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-21 01:04:57 +0000 |
commit | ecc0e2889614ffdd22dac0c8346da0018b3c7b12 (patch) | |
tree | a55749aad33f45c398220b9d15d84d996de51913 /railties/lib/rails_generator/generators | |
parent | 5d5f0bad6e934d9d4fad7d0fa4643d04c13709a9 (diff) | |
download | rails-ecc0e2889614ffdd22dac0c8346da0018b3c7b12.tar.gz rails-ecc0e2889614ffdd22dac0c8346da0018b3c7b12.tar.bz2 rails-ecc0e2889614ffdd22dac0c8346da0018b3c7b12.zip |
Add prototype.js to new apps in javascripts/ #885
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index 56f82f360f..79a14b9387 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -64,6 +64,9 @@ class AppGenerator < Rails::Generator::Base m.template "html/favicon.ico", "public/favicon.ico" + # Javascripts + m.file "javascripts/prototype.js", "public/javascripts/prototype.js" + # Docs m.file "doc/README_FOR_APP", "doc/README_FOR_APP" |