Browse Source

ignore domain#master, domain#type allways 'NATIVE'

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
5ac4ca88d7
  1. 9
      app/controllers/domains_controller.rb

9
app/controllers/domains_controller.rb

@ -1,5 +1,12 @@
class DomainsController < ApplicationController
active_scaffold :domain do |conf|
conf.columns = [:name, :master, :last_check, :type, :notified_serial, :account]
conf.columns = [:name, :last_check, :notified_serial, :account]
end
protected
def before_create_save(record)
record.type = 'NATIVE'
end
end

Loading…
Cancel
Save