From 60e809cffd274d3e9f412a3cc845686ca8e7fb4f Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Sat, 5 Jan 2013 11:57:13 -0200 Subject: Move style to head to make routes page valid html5 --- .../lib/action_dispatch/middleware/templates/rescues/layout.erb | 2 ++ .../middleware/templates/routes/_route_wrapper.html.erb | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb index 1aeff6c1b9..9878c2747e 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb @@ -113,6 +113,8 @@ a { color: #980905; } a:visited { color: #666; } a:hover { color: #C52F24; } + + <%= yield :style %>