You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
358 B
14 lines
358 B
class SoasController < ApplicationController |
|
active_scaffold :soa do |conf| |
|
conf.columns = [:name, :primary_ns, :contact, :ttl] |
|
conf.create.columns = [:primary_ns, :contact, :ttl] |
|
conf.update.columns = [:contact, :ttl] |
|
conf.actions.exclude :delete, :show |
|
end |
|
|
|
protected |
|
|
|
def beginning_of_chain |
|
super.readonly(false) |
|
end |
|
end
|
|
|