summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-20 20:02:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-20 20:02:04 +0000
commit80f3834159d859cfd31e43c9610aee34dc3aa4bd (patch)
tree55d97b7c9d4d895bad80c7866f155a412ab34e1c /app
parent83e45cad9f6a566147fdb4d05d1d6a0a7bfad98e (diff)
downloadredmine-80f3834159d859cfd31e43c9610aee34dc3aa4bd.tar.gz
redmine-80f3834159d859cfd31e43c9610aee34dc3aa4bd.zip
Fixes admin menu display.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8679 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/admin_controller.rb4
-rw-r--r--app/controllers/ldap_auth_sources_controller.rb1
-rw-r--r--app/controllers/settings_controller.rb1
3 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index d32bdef91..5aecd5f6d 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -17,6 +17,10 @@
class AdminController < ApplicationController
layout 'admin'
+ menu_item :projects, :only => :projects
+ menu_item :plugins, :only => :plugins
+ menu_item :info, :only => :info
+
before_filter :require_admin
helper :sort
include SortHelper
diff --git a/app/controllers/ldap_auth_sources_controller.rb b/app/controllers/ldap_auth_sources_controller.rb
index 74c8e3149..29f1bc3d7 100644
--- a/app/controllers/ldap_auth_sources_controller.rb
+++ b/app/controllers/ldap_auth_sources_controller.rb
@@ -16,6 +16,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class LdapAuthSourcesController < AuthSourcesController
+ menu_item :ldap_authentication
protected
diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb
index 257b90321..0658a8f34 100644
--- a/app/controllers/settings_controller.rb
+++ b/app/controllers/settings_controller.rb
@@ -17,6 +17,7 @@
class SettingsController < ApplicationController
layout 'admin'
+ menu_item :plugins, :only => :plugin
before_filter :require_admin