diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-06 17:22:56 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-06 17:22:56 +0000 |
commit | 10be1c59f8999f91dd08c21a1e4104d664cf8150 (patch) | |
tree | 893a8b39b86ca5de0e4945677ae94e6c7e1cb22b /railties/lib/rails_generator/generators/applications/app/app_generator.rb | |
parent | 911614df6eb4ea1f19c71aea57b1aea0b243c73a (diff) | |
download | rails-10be1c59f8999f91dd08c21a1e4104d664cf8150.tar.gz rails-10be1c59f8999f91dd08c21a1e4104d664cf8150.tar.bz2 rails-10be1c59f8999f91dd08c21a1e4104d664cf8150.zip |
Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators/applications/app/app_generator.rb')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 2 |
1 files changed, 2 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 dc731c4e3f..b0876c1820 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -65,6 +65,8 @@ class AppGenerator < Rails::Generator::Base %w(404 500 index).each do |file| m.template "html/#{file}.html", "public/#{file}.html" end + + m.template "html/favicon.ico", "public/favicon.ico" # Docs m.file "doc/README_FOR_APP", "doc/README_FOR_APP" |