Browse Source

close #114 Custom NS for a subdomain

allow any NS
pull/1/head
Nicolae Claudius 13 years ago
parent
commit
8633c7bbaf
  1. 2
      app/models/ns.rb

2
app/models/ns.rb

@ -21,7 +21,7 @@
#
class NS < Record
validates :name, :hostname => {:allow_underscore => true}
validates :content, :presence => true, :hostname => true, :inclusion => {:in => Settings.ns}
validates :content, :presence => true, :hostname => true #, :inclusion => {:in => Settings.ns}
def to_label; "#{content}" end
end

Loading…
Cancel
Save