diff options
-rw-r--r-- | app/views/layouts/admin.rhtml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/layouts/admin.rhtml b/app/views/layouts/admin.rhtml index 1dd4dc89f..c405e8851 100644 --- a/app/views/layouts/admin.rhtml +++ b/app/views/layouts/admin.rhtml @@ -5,8 +5,11 @@ <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <title>FOIFA admin<%= @title ? ":" : "" %> <%=@title%></title> - <%= stylesheet_link_tag 'admin' %> - <%= stylesheet_link_tag 'scaffold' %> + <% + # Have to do explicit tag for stylesheet, to get absolute path on main server + %> + <%= tag("link", { "rel" => "Stylesheet", "type" => "text/css", "media" => "screen", "href" => main_url(stylesheet_path('admin')) }) %> + <%= tag("link", { "rel" => "Stylesheet", "type" => "text/css", "media" => "screen", "href" => main_url(stylesheet_path('scaffold')) }) %> </head> <body> |