From 5e08c668d264ada2c9f1f4eb354da9aa27f4c279 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 10 Oct 2006 18:18:27 +0000 Subject: [PATCH] Fixed default 404.html and 500.htmls to remove extreme ugliness and added error language fit for humans [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5279 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/CHANGELOG | 2 ++ railties/html/404.html | 49 +++++++++++++++++++++++++++++++++++++----- railties/html/500.html | 49 +++++++++++++++++++++++++++++++++++++----- 3 files changed, 90 insertions(+), 10 deletions(-) diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 835f652703..62e395e6d5 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fixed default 404.html and 500.htmls to remove extreme ugliness and include human language [DHH] + * Update to latest Prototype and script.aculo.us trunk versions [Thomas Fuchs] * PostgreSQL: db:test:purge closes open database connections first. #6236 [alex] diff --git a/railties/html/404.html b/railties/html/404.html index 0e1845619d..78295d4258 100644 --- a/railties/html/404.html +++ b/railties/html/404.html @@ -1,8 +1,47 @@ - - + + + + + + + The page you were looking for doesn't exist (404) + + + -

File not found

-

Change this error message for pages not found in public/404.html

+ +
+ + +
+
+

The page you were looking for doesn't exist.

+

You may have mistyped the address or the page may have moved.

+
+
+ \ No newline at end of file diff --git a/railties/html/500.html b/railties/html/500.html index 146b216bfd..7a2af943d9 100644 --- a/railties/html/500.html +++ b/railties/html/500.html @@ -1,8 +1,47 @@ - - + + + + + + + We're sorry, but something went wrong + + + -

Application error

-

Change this error message for uncaught exceptions in public/500.html

+ +
+ + +
+
+

We're sorry, but something went wrong.

+

We've been notified about this issue and we'll take a look at it shortly.

+
+
+ \ No newline at end of file