summaryrefslogtreecommitdiffstats
path: root/app/controllers/principal_memberships_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-15 10:09:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-15 10:09:28 +0000
commitb4c23f066e71978f36d8bd4aeae02be11385fcca (patch)
tree3555bb21efc0778859ea316c0a567f89c474502d /app/controllers/principal_memberships_controller.rb
parent5da9cc59ee48b8e86b2836909ddff970cce76545 (diff)
downloadredmine-b4c23f066e71978f36d8bd4aeae02be11385fcca.tar.gz
redmine-b4c23f066e71978f36d8bd4aeae02be11385fcca.zip
Display details about inheritance when editing a member roles (#31032).
git-svn-id: http://svn.redmine.org/redmine/trunk@17968 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/principal_memberships_controller.rb')
-rw-r--r--app/controllers/principal_memberships_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/principal_memberships_controller.rb b/app/controllers/principal_memberships_controller.rb
index 68770628f..a803a20b1 100644
--- a/app/controllers/principal_memberships_controller.rb
+++ b/app/controllers/principal_memberships_controller.rb
@@ -21,6 +21,8 @@ class PrincipalMembershipsController < ApplicationController
layout 'admin'
self.main_menu = false
+ helper :members
+
before_action :require_admin
before_action :find_principal, :only => [:new, :create]
before_action :find_membership, :only => [:edit, :update, :destroy]