Add new settings tab for participation processes

- Rename setting keys
- New tab por participation processes
- Hide these settings from features tab
This commit is contained in:
Julian Herrero
2019-03-13 12:41:42 +01:00
parent 1ece761beb
commit c82b2a975a
34 changed files with 188 additions and 143 deletions

View File

@@ -10,7 +10,7 @@ module FeatureFlags
end
def check_feature_flag(name)
raise FeatureDisabled, name unless Setting["feature.#{name}"]
raise FeatureDisabled, name unless Setting["feature.#{name}"] || Setting["process.#{name}"]
end
class FeatureDisabled < Exception