summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/layouts/base.html.erb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb
index 68b175848..fdb8aff7d 100644
--- a/app/views/layouts/base.html.erb
+++ b/app/views/layouts/base.html.erb
@@ -56,13 +56,10 @@
<% end %>
</div>
-<% content_for :sidebar do %>
- <%= call_hook :view_layouts_base_sidebar %>
-<% end %>
-
<%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
<div id="sidebar">
<%= yield :sidebar %>
+ <%= call_hook :view_layouts_base_sidebar %>
</div>
<div id="content">