diff options
| author | Zog | 2018-04-19 13:56:55 +0200 |
|---|---|---|
| committer | cedricnjanga | 2018-04-19 22:44:15 -0700 |
| commit | 8f756b377f8866ac17b303ec17ae2333e10ba966 (patch) | |
| tree | b6984b9aafa464e65260aeb62892a2508fbeabd9 | |
| parent | ad9e5c93133bf38eec1a9a2c533e783846936de8 (diff) | |
| download | chouette-core-8f756b377f8866ac17b303ec17ae2333e10ba966.tar.bz2 | |
Refs #6413; Only require durations in journey patterns
| -rw-r--r-- | app/models/chouette/journey_pattern.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/chouette/journey_pattern.rb b/app/models/chouette/journey_pattern.rb index 5b5015107..1e4041798 100644 --- a/app/models/chouette/journey_pattern.rb +++ b/app/models/chouette/journey_pattern.rb @@ -169,7 +169,6 @@ module Chouette next finish unless start.present? costs = costs_between(start, finish) full = false unless costs.present? - full = false unless costs[:distance] && costs[:distance] > 0 full = false unless costs[:time] && costs[:time] > 0 finish end |
