Browse Source

forms, default sorting

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
586c175722
  1. 3
      app/controllers/domains_controller.rb

3
app/controllers/domains_controller.rb

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

Loading…
Cancel
Save