aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@plataformatec.com.br>2012-06-10 02:40:44 -0700
committerJosé Valim <jose.valim@plataformatec.com.br>2012-06-10 02:40:44 -0700
commit613357c1aac7622577bd6a9e3452c9194f8dcbf6 (patch)
tree6ed521ff87921cd545fb31bd0b3e79bb29937ecd /railties/lib/rails
parent03f2249153ae4d2078646e6796d8b9e5ef747fba (diff)
parent4c82d3f0a46f18bd6b02f264f6c81bec85d416ed (diff)
downloadrails-613357c1aac7622577bd6a9e3452c9194f8dcbf6.tar.gz
rails-613357c1aac7622577bd6a9e3452c9194f8dcbf6.tar.bz2
rails-613357c1aac7622577bd6a9e3452c9194f8dcbf6.zip
Merge pull request #6692 from schneems/schneems/something-went-wrong
Add Prompt to 404 & 500 Pages to Check Logs in Production
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/public/404.html1
-rw-r--r--railties/lib/rails/generators/rails/app/templates/public/500.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/public/404.html b/railties/lib/rails/generators/rails/app/templates/public/404.html
index 276c8c1c6a..3d875c342e 100644
--- a/railties/lib/rails/generators/rails/app/templates/public/404.html
+++ b/railties/lib/rails/generators/rails/app/templates/public/404.html
@@ -22,5 +22,6 @@
<h1>The page you were looking for doesn't exist.</h1>
<p>You may have mistyped the address or the page may have moved.</p>
</div>
+ <p>If you are the application owner check the logs for more information.</p>
</body>
</html>
diff --git a/railties/lib/rails/generators/rails/app/templates/public/500.html b/railties/lib/rails/generators/rails/app/templates/public/500.html
index dfdb7d0b05..012977d3d2 100644
--- a/railties/lib/rails/generators/rails/app/templates/public/500.html
+++ b/railties/lib/rails/generators/rails/app/templates/public/500.html
@@ -21,5 +21,6 @@
<div class="dialog">
<h1>We're sorry, but something went wrong.</h1>
</div>
+ <p>If you are the application owner check the logs for more information.</p>
</body>
</html>