diff options
| author | Robert | 2017-11-01 20:30:01 +0100 | 
|---|---|---|
| committer | Robert | 2017-11-02 07:52:45 +0100 | 
| commit | c3c32ae541cfb018877af964f122b15f6f15b984 (patch) | |
| tree | 8c4b33febc699f4878238bc15d12134e9f089e81 /app/models/referential.rb | |
| parent | 28c086c3ec889e3fca806062dc8378ba5f22dfc2 (diff) | |
| download | chouette-core-c3c32ae541cfb018877af964f122b15f6f15b984.tar.bz2 | |
 Refs: #4802@2h; Replaying former work. To identify spec regression
    Step 2: Added validation of reference->workbench->organisation consistency
            Made all specs pass
            Chased bug #4826
Diffstat (limited to 'app/models/referential.rb')
| -rw-r--r-- | app/models/referential.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/models/referential.rb b/app/models/referential.rb index 04cdf986d..ed13cd077 100644 --- a/app/models/referential.rb +++ b/app/models/referential.rb @@ -298,7 +298,7 @@ class Referential < ActiveRecord::Base    end    def assign_prefix -    self.prefix = self.organisation.name.parameterize.gsub('-', '_') +    self.prefix = organisation.name.parameterize.gsub('-', '_')    end    def assign_line_and_stop_area_referential | 
