From deae52a62ec6085b7b8d5f9db113946343266582 Mon Sep 17 00:00:00 2001 From: Alexey Zabelin Date: Wed, 3 Feb 2016 14:50:23 -0500 Subject: [PATCH] Add dummy apple icon files Previously Safari would try to load these files when you visit localhost:3000. That created two exceptions in the log. It also caused the exception notifier to send them out. In response to #23427 --- railties/CHANGELOG.md | 4 ++++ .../app/templates/public/apple-touch-icon-precomposed.png | 0 .../rails/app/templates/public/apple-touch-icon.png | 0 3 files changed, 4 insertions(+) create mode 100644 railties/lib/rails/generators/rails/app/templates/public/apple-touch-icon-precomposed.png create mode 100644 railties/lib/rails/generators/rails/app/templates/public/apple-touch-icon.png diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index 96149acc08..a1736470ae 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,5 +1,9 @@ ## Rails 5.0.0.beta2 (February 01, 2016) ## +* Add dummy files for apple-touch-icon.png and apple-touch-icon.png. GH#23427 + + *Alexey Zabelin* + * Add `after_bundle` callbacks in Rails plugin templates. Useful for allowing templates to perform actions that are dependent upon `bundle install`. diff --git a/railties/lib/rails/generators/rails/app/templates/public/apple-touch-icon-precomposed.png b/railties/lib/rails/generators/rails/app/templates/public/apple-touch-icon-precomposed.png new file mode 100644 index 0000000000..e69de29bb2 diff --git a/railties/lib/rails/generators/rails/app/templates/public/apple-touch-icon.png b/railties/lib/rails/generators/rails/app/templates/public/apple-touch-icon.png new file mode 100644 index 0000000000..e69de29bb2