From a3fa56d98892650582843e7910586a064b78bba0 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Tue, 10 Feb 2009 01:24:32 +0000 Subject: [PATCH] Added two new plugin hooks: * :view_layouts_base_sidebar * :view_layouts_base_content git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2428 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/layouts/base.rhtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index b6d7381311..8cb8f5f690 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -47,11 +47,13 @@ <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
<%= render_flash_messages %> <%= yield %> + <%= call_hook :view_layouts_base_content %>