summaryrefslogtreecommitdiff
path: root/app/controllers/groups/crm/contacts_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/groups/crm/contacts_controller.rb')
-rw-r--r--app/controllers/groups/crm/contacts_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/groups/crm/contacts_controller.rb b/app/controllers/groups/crm/contacts_controller.rb
index f00f4d1df25..b59e20d9cea 100644
--- a/app/controllers/groups/crm/contacts_controller.rb
+++ b/app/controllers/groups/crm/contacts_controller.rb
@@ -3,6 +3,7 @@
class Groups::Crm::ContactsController < Groups::ApplicationController
feature_category :team_planning
+ before_action :validate_root_group!
before_action :authorize_read_crm_contact!
def new