mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Modify Settings UI to read values from SettingEntry model
This commit is contained in:
parent
4f59900367
commit
950bdc6256
4 changed files with 26 additions and 65 deletions
|
@ -3,7 +3,12 @@ module Admin
|
|||
load_and_authorize_resource
|
||||
|
||||
def index
|
||||
@settings = Setting.unscoped
|
||||
@settings = SettingEntry.unscoped
|
||||
@validation_settings = SettingEntry.with_group('domain_validation')
|
||||
@expiration_settings = SettingEntry.with_group('domain_expiration')
|
||||
@other_settings = SettingEntry.with_group('other')
|
||||
@billing_settings = SettingEntry.with_group('billing')
|
||||
@contacts_settings = SettingEntry.with_group('contacts')
|
||||
end
|
||||
|
||||
def create
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue