aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/chouette/objectid_formatter/stif_codifligne.rb2
-rw-r--r--app/models/chouette/objectid_formatter/stif_netex.rb2
-rw-r--r--app/models/chouette/objectid_formatter/stif_reflex.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/models/chouette/objectid_formatter/stif_codifligne.rb b/app/models/chouette/objectid_formatter/stif_codifligne.rb
index 0624fc8a8..aaa07ed6f 100644
--- a/app/models/chouette/objectid_formatter/stif_codifligne.rb
+++ b/app/models/chouette/objectid_formatter/stif_codifligne.rb
@@ -1,6 +1,6 @@
module Chouette
module ObjectidFormatter
- class Chouette::ObjectidFormatter::StifCodifligne
+ class StifCodifligne
def before_validation(model)
# unused method in this context
end
diff --git a/app/models/chouette/objectid_formatter/stif_netex.rb b/app/models/chouette/objectid_formatter/stif_netex.rb
index 0256754bf..57d126983 100644
--- a/app/models/chouette/objectid_formatter/stif_netex.rb
+++ b/app/models/chouette/objectid_formatter/stif_netex.rb
@@ -1,6 +1,6 @@
module Chouette
module ObjectidFormatter
- class Chouette::ObjectidFormatter::StifNetex
+ class StifNetex
def before_validation(model)
model.attributes = {objectid: "__pending_id__#{SecureRandom.uuid}"} unless model.read_attribute(:objectid)
end
diff --git a/app/models/chouette/objectid_formatter/stif_reflex.rb b/app/models/chouette/objectid_formatter/stif_reflex.rb
index 5637f2806..e7e9f5611 100644
--- a/app/models/chouette/objectid_formatter/stif_reflex.rb
+++ b/app/models/chouette/objectid_formatter/stif_reflex.rb
@@ -1,6 +1,6 @@
module Chouette
module ObjectidFormatter
- class Chouette::ObjectidFormatter::StifReflex
+ class StifReflex
def before_validation(model)
# unused method in this context
end