class PNutri < ApplicationRecord
  acts_as_sorting :fields => {
      :id => {:name => "Id", :reorder => true},
      :name => {:name => "Nom", :reorder => true},
    
      :actions => {:name => "Actions", :reorder => false}
  }
  
  validates :name, :presence => true

end
