aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/admin.rhtml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/layouts/admin.rhtml b/app/views/layouts/admin.rhtml
index 306af03e7..426a01cf5 100644
--- a/app/views/layouts/admin.rhtml
+++ b/app/views/layouts/admin.rhtml
@@ -3,10 +3,7 @@
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" >
<title>WhatDoTheyKnow admin<%= @title ? ":" : "" %> <%=@title%></title>
- <%
- # Have to do explicit tag for stylesheet, to get absolute path on main server
- %>
- <%= tag("link", { "rel" => "Stylesheet", "type" => "text/css", "media" => "screen", "href" => admin_public_url(stylesheet_path('admin')) }) %>
+ <%= stylesheet_link_tag 'admin', :title => "Main", :rel => "stylesheet" %>
</head>
<body>