12 lines
232 B
Ruby
12 lines
232 B
Ruby
class CircuitRegion < ApplicationRecord
|
|
acts_as_csv_import :fields => [:name]
|
|
|
|
acts_as_sorting :fields => {
|
|
:name => {:name => "Nom",:reorder => true},
|
|
:actions => {:name => "Actions"}
|
|
}
|
|
|
|
has_many :circuits
|
|
|
|
end
|