Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [38f669766cb4d328e121afab020f4a52ca45421f] by Dan Croak

Revision 38f669766cb4d328e121afab020f4a52ca45421f, committed by Dan Croak · January 5th, 2010 @ 04:13 PM

Rails layouts, error pages, and public/index now use HTML5.

The specification allows the character encoding meta tag to be removed
if character encoding is set at the transport level (Content-Type),
which Rails is doing.

http://dev.w3.org/html5/html4-differences/#character-encoding

Signed-off-by: Joshua Peek josh@joshpeek.com
http://github.com/rails/rails/commit/38f669766cb4d328e121afab020f4a...

5 changed files

  • M railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb
  • M railties/lib/rails/generators/rails/app/templates/public/404.html
  • M railties/lib/rails/generators/rails/app/templates/public/422.html
  • M railties/lib/rails/generators/rails/app/templates/public/500.html
  • M railties/lib/rails/generators/rails/app/templates/public/index.html