diff options
| author | Edouard Maffert | 2016-09-05 12:17:22 +0200 | 
|---|---|---|
| committer | Edouard Maffert | 2016-09-05 12:17:22 +0200 | 
| commit | fe540808f7a52f997ebc25441a5626a3903a777c (patch) | |
| tree | a0ae163a1f0af8312413169bc5bb59fde85a4916 /lib | |
| parent | a597b1326abaddafca2124f78415cf6ad5104e3d (diff) | |
| download | chouette-core-fe540808f7a52f997ebc25441a5626a3903a777c.tar.bz2 | |
fix codifligne synchronization for networks
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/stif/codif_line_synchronization.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/stif/codif_line_synchronization.rb b/lib/stif/codif_line_synchronization.rb index 6b0ba939d..1c0a45a75 100644 --- a/lib/stif/codif_line_synchronization.rb +++ b/lib/stif/codif_line_synchronization.rb @@ -151,7 +151,7 @@ module Stif        end        def save_or_update(params, klass) -        params[:line_referential] = LineReferential.first unless klass == Chouette::Network +        params[:line_referential] = LineReferential.first          object = klass.where(objectid: params[:objectid]).first          if object            object.assign_attributes(params) | 
