mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Add a setting to see if legaldocs are mandatory
This commit is contained in:
parent
f7994e599a
commit
a80e813632
5 changed files with 37 additions and 3 deletions
|
@ -3,7 +3,7 @@ class Setting < RailsSettings::Base
|
|||
source Rails.root.join('config', 'app.yml')
|
||||
|
||||
# When config/app.yml has changed, you need change this prefix to v2, v3 ... to expires caches
|
||||
# cache_prefix { "v1" }
|
||||
cache_prefix { 'v2' }
|
||||
|
||||
def self.reload_settings!
|
||||
STDOUT << "#{Time.zone.now.utc} - Clearing settings cache\n"
|
||||
|
@ -68,6 +68,7 @@ class Setting < RailsSettings::Base
|
|||
request_confirmation_on_domain_deletion_enabled
|
||||
nameserver_required
|
||||
address_processing
|
||||
legal_document_is_mandatory
|
||||
]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue