|
|
@ -1,7 +1,10 @@ |
|
|
|
class DomainsController < ApplicationController |
|
|
|
class DomainsController < ApplicationController |
|
|
|
active_scaffold :domain do |conf| |
|
|
|
active_scaffold :domain do |conf| |
|
|
|
conf.columns = [:name, :records] |
|
|
|
conf.columns = [:name, :records] |
|
|
|
|
|
|
|
conf.create.columns = [:name] |
|
|
|
|
|
|
|
conf.update.columns = [:name] |
|
|
|
conf.actions.exclude :show |
|
|
|
conf.actions.exclude :show |
|
|
|
|
|
|
|
conf.list.sorting = { :name => :asc } |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
protected |
|
|
|
protected |
|
|
|