11 lines
251 B
Ruby
11 lines
251 B
Ruby
class CircuitRegionCat < ApplicationRecord
|
|
has_many :circuit_regions, -> { order("name") }
|
|
acts_as_sorting fields: {
|
|
name: { name: "Nom", reorder: true },
|
|
position: { name: "Position", reorder: true },
|
|
actions: "Actions"
|
|
}
|
|
|
|
|
|
end
|