diff options
author | Dan Croak <dcroak@thoughtbot.com> | 2010-01-05 10:13:29 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-05 10:13:29 -0600 |
commit | 38f669766cb4d328e121afab020f4a52ca45421f (patch) | |
tree | a2a51f316b00580bf516513a0faa06423015a266 /railties/lib/rails/generators/erb/scaffold | |
parent | 5c527c2f61d43641f3efa32c960234bc71c6e95e (diff) | |
download | rails-38f669766cb4d328e121afab020f4a52ca45421f.tar.gz rails-38f669766cb4d328e121afab020f4a52ca45421f.tar.bz2 rails-38f669766cb4d328e121afab020f4a52ca45421f.zip |
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>
Diffstat (limited to 'railties/lib/rails/generators/erb/scaffold')
-rw-r--r-- | railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb b/railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb index 51c4ad0e2e..7aa049fe80 100644 --- a/railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb +++ b/railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb @@ -1,7 +1,6 @@ <!DOCTYPE html> <html> <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title><%= controller_class_name %>: <%%= controller.action_name %></title> <%%= stylesheet_link_tag 'scaffold' %> </head> |