mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
Fill empty reserved domain passwords on save
This commit is contained in:
parent
89d831bb0e
commit
d9c2b992d2
4 changed files with 1058 additions and 91 deletions
|
@ -3,7 +3,7 @@ class Admin::ReservedDomainsController < AdminController
|
|||
|
||||
def index
|
||||
rd = ReservedDomain.first_or_initialize
|
||||
@reserved_domains = rd.names.to_yaml
|
||||
@reserved_domains = rd.names.to_yaml.gsub("---\n", '')
|
||||
end
|
||||
|
||||
def create
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue