Nicolae Claudius
13 years ago
1 changed files with 8 additions and 1 deletions
@ -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…
Reference in new issue