From 536e4879265c658f92f5d76c3bac18bfa730ca93 Mon Sep 17 00:00:00 2001
From: pabois <pierreandre.boissinot@noesya.coop>
Date: Tue, 14 Mar 2023 10:31:35 +0100
Subject: [PATCH] simplier

---
 app/controllers/admin/communication/extranets_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controllers/admin/communication/extranets_controller.rb b/app/controllers/admin/communication/extranets_controller.rb
index cd81f46d3..f8e1d3f42 100644
--- a/app/controllers/admin/communication/extranets_controller.rb
+++ b/app/controllers/admin/communication/extranets_controller.rb
@@ -66,7 +66,7 @@ class Admin::Communication::ExtranetsController < Admin::Communication::Applicat
       :terms, :privacy_policy, :cookies_policy
     ]
     if can?(:create, Communication::Extranet)
-      allowed_params = allowed_params + [
+      allowed_params += [
         :host, :about_id, :about_type,
         :sass,
         :feature_alumni, :feature_library, :feature_contacts, :feature_jobs, :feature_posts,
-- 
GitLab