diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-11-19 10:30:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-11-19 10:30:02 +0000 |
commit | 124a459d55858cecd65e57ae7f312d99bcbcbb96 (patch) | |
tree | 090e11125e905e9ede7534c3e80c4521d14ba301 /app/controllers/roles_controller.rb | |
parent | 33d78d605d0b6582512b5bca24c087730635e928 (diff) | |
download | redmine-124a459d55858cecd65e57ae7f312d99bcbcbb96.tar.gz redmine-124a459d55858cecd65e57ae7f312d99bcbcbb96.zip |
Use the main menu for project related actions that support cross-project display.
git-svn-id: http://svn.redmine.org/redmine/trunk@15983 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/roles_controller.rb')
-rw-r--r-- | app/controllers/roles_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rb index c33eff578..a09455949 100644 --- a/app/controllers/roles_controller.rb +++ b/app/controllers/roles_controller.rb @@ -17,6 +17,7 @@ class RolesController < ApplicationController layout 'admin' + self.main_menu = false before_action :require_admin, :except => [:index, :show] before_action :require_admin_or_api_request, :only => [:index, :show] |