FEATURE: Add site contact group. (#7152)

This commit is contained in:
Bianca Nenciu
2019-03-13 12:34:47 +02:00
committed by Régis Hanol
parent 35426b5ad6
commit 76a14c47ac
7 changed files with 62 additions and 3 deletions

View File

@@ -32,6 +32,7 @@ class SiteSettings::TypeSupervisor
category: 16,
uploaded_image_list: 17,
upload: 18,
group: 19,
)
end
@@ -239,6 +240,8 @@ class SiteSettings::TypeSupervisor
EmailSettingValidator
when self.class.types[:username]
UsernameSettingValidator
when self.class.types[:group]
GroupSettingValidator
when self.class.types[:integer]
IntegerSettingValidator
when self.class.types[:regex]