This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/app/models/p_product_zone.rb
2021-08-23 10:26:02 +02:00

16 lines
405 B
Ruby

class PProductZone < ApplicationRecord
def self.human
"Zones produit"
end
acts_as_sorting :fields => {
:id => {:name => "Id", :reorder => true},
:name => {:name => "Nom", :reorder => true},
#:created_at => {:name => "Created_at", :reorder => true},
#:updated_at => {:name => "Updated_at", :reorder => true},
:actions => {:name => "Actions", :reorder => true}
}
end