diff options
| author | cedricnjanga | 2017-09-27 12:31:02 +0200 | 
|---|---|---|
| committer | cedricnjanga | 2017-09-27 16:21:18 +0200 | 
| commit | eb761e221efc3ce0b09bfea96415907afac33d4a (patch) | |
| tree | 781b7aa2b0d252979f986ecb1497f51278b7acd5 /app/models/line_control | |
| parent | ea0cf8c5e11ddbd61eed8cd825ac923ad947cdf4 (diff) | |
| download | chouette-core-eb761e221efc3ce0b09bfea96415907afac33d4a.tar.bz2 | |
Refs #4615 Refacto compliance control models and add origin_code to ComplianceControl model
Diffstat (limited to 'app/models/line_control')
| -rw-r--r-- | app/models/line_control/route.rb | 6 | 
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/line_control/route.rb b/app/models/line_control/route.rb index 8ac13a080..21c5eca06 100644 --- a/app/models/line_control/route.rb +++ b/app/models/line_control/route.rb @@ -3,11 +3,5 @@ module LineControl      @@default_criticity = :warning      @@default_code = "3-Line-1" - -    after_initialize do -      self.name = self.class.name -      self.code = @@default_code -      self.criticity = @@default_criticity -    end    end  end
\ No newline at end of file  | 
