diff options
| author | Luc Donnet | 2017-06-29 00:19:24 +0200 | 
|---|---|---|
| committer | Luc Donnet | 2017-06-29 00:19:24 +0200 | 
| commit | 1adc021ba4d797152a6f31cfe17161ef20877fb7 (patch) | |
| tree | f807b9c38d2f65a8c913f0e36692b33df025d73c /app/models | |
| parent | f2191bd26937e7433a6ddfd2eda489a6cf4ae30e (diff) | |
| download | chouette-core-1adc021ba4d797152a6f31cfe17161ef20877fb7.tar.bz2 | |
Fix RoutingConstraintZone Policy
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/referential.rb | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/app/models/referential.rb b/app/models/referential.rb index 0ce325bd6..ed23e2e51 100644 --- a/app/models/referential.rb +++ b/app/models/referential.rb @@ -114,6 +114,10 @@ class Referential < ActiveRecord::Base      Chouette::RouteSection.all    end +  def routing_constraint_zones +    Chouette::RoutingConstraintZone.all +  end +    after_initialize :define_default_attributes    def define_default_attributes | 
