diff options
author | Matias Korhonen <matias@kiskolabs.com> | 2011-05-03 13:44:31 +0300 |
---|---|---|
committer | Matias Korhonen <matias@kiskolabs.com> | 2011-05-03 16:30:04 +0300 |
commit | c7f7a45676f929195d6b12824acd7f200610e081 (patch) | |
tree | 6042a9367f45ac69ef7ab92fd967ca1e4df214be /actionpack/lib/action_dispatch | |
parent | 1ca81238b5abcbdad667d45a588fdb1f68a0516e (diff) | |
download | rails-c7f7a45676f929195d6b12824acd7f200610e081.tar.gz rails-c7f7a45676f929195d6b12824acd7f200610e081.tar.bz2 rails-c7f7a45676f929195d6b12824acd7f200610e081.zip |
Rescues template HTML5 doctype and the utf8 charset meta tag, and better font choices for Mac users.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb index 6c32fb17b8..6e71fd7ddc 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb @@ -1,11 +1,13 @@ -<html xmlns="http://www.w3.org/1999/xhtml"> +<!DOCTYPE html> +<html lang="en"> <head> + <meta charset="utf-8" /> <title>Action Controller: Exception caught</title> <style> body { background-color: #fff; color: #333; } body, p, ol, ul, td { - font-family: verdana, arial, helvetica, sans-serif; + font-family: helvetica, verdana, arial, sans-serif; font-size: 13px; line-height: 18px; } |