summaryrefslogtreecommitdiffstats
path: root/app/controllers/groups_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-17 18:21:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-17 18:21:02 +0000
commitdfabadf4f7e00d5769f96eb2d6944c7ed7c6e410 (patch)
tree49d01d51e6501b8c1803f23dc0ae8e948e47c8bf /app/controllers/groups_controller.rb
parent39b44b1cb94f68514bf9ce7ae76ee7228bf6ce07 (diff)
downloadredmine-dfabadf4f7e00d5769f96eb2d6944c7ed7c6e410.tar.gz
redmine-dfabadf4f7e00d5769f96eb2d6944c7ed7c6e410.zip
Adds an admin layout that displays the admin menu in the sidebar.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3176 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r--app/controllers/groups_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index 54b5d1b97..96e59c288 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -16,7 +16,8 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class GroupsController < ApplicationController
- layout 'base'
+ layout 'admin'
+
before_filter :require_admin
helper :custom_fields