aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-11-01 12:34:57 +0000
committerLouise Crow <louise.crow@gmail.com>2012-11-01 12:34:57 +0000
commit856b6aada749426a15b378ffe09e2a378a7b0b6b (patch)
tree76e595b38404049c62119704a19cf33018e3c06e
parentbcd04360f46a500dcaad326c01da3ed2da39b21c (diff)
Don't set the body class to admin when an admin user is using the front end. We don't want to apply admin styles to the front end in general.
-rw-r--r--app/views/layouts/default.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml
index 7b4c0f6a1..94ca2f8a5 100644
--- a/app/views/layouts/default.rhtml
+++ b/app/views/layouts/default.rhtml
@@ -41,7 +41,7 @@
<%= render :partial => 'general/before_head_end' %>
</head>
- <body class="<%= 'admin' if is_admin? %> <%= 'front' if params[:action] == 'frontpage' %>">
+ <body class="<%= 'front' if params[:action] == 'frontpage' %>">
<% if Configuration::force_registration_on_new_request && !@user %>
<%= javascript_include_tag 'jquery.fancybox-1.3.4.pack' %>
<script type="text/javascript">