lipsiadmin_generators/backend/templates/controllers/backend/accounts_controller.rb in lipsiadmin-4.0.0 vs lipsiadmin_generators/backend/templates/controllers/backend/accounts_controller.rb in lipsiadmin-4.1.0

- old
+ new

@@ -1,13 +1,13 @@ class Backend::AccountsController < BackendController def index params[:limit] ||= 50 @column_store = column_store_for Account do |cm| - cm.add :name, "Name", :sortable => true - cm.add :surname, "Surname", :sortable => true - cm.add :email, "Email", :sortable => true - cm.add :created_at, "Created at", :sortable => true, :renderer => :datetime, :align => :right - cm.add :updated_at, "Updated at", :sortable => true, :renderer => :datetime, :align => :right + cm.add :name + cm.add :surname + cm.add :email + cm.add :created_at, :renderer => :datetime, :align => :right + cm.add :updated_at, :renderer => :datetime, :align => :right end respond_to do |format| format.js format.json do \ No newline at end of file