diff options
| author | jpl | 2017-02-23 16:33:54 +0100 | 
|---|---|---|
| committer | jpl | 2017-02-23 16:33:54 +0100 | 
| commit | d6c447cc7524a5f20681a0565649f5cbfbaa70d4 (patch) | |
| tree | 692578eb9e13ecdfc1564cc6c0532b0c70712080 /app/helpers | |
| parent | bb75e3efb7de3d37439285722aca49d4cef77ad5 (diff) | |
| download | chouette-core-d6c447cc7524a5f20681a0565649f5cbfbaa70d4.tar.bz2 | |
Fix tests
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/newapplication_helper.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/app/helpers/newapplication_helper.rb b/app/helpers/newapplication_helper.rb index 194672c73..49b717beb 100644 --- a/app/helpers/newapplication_helper.rb +++ b/app/helpers/newapplication_helper.rb @@ -50,6 +50,7 @@ module NewapplicationHelper                  if current_referential                    lnk << current_referential                    lnk << item.line if item.respond_to? :line +                  lnk << item if item.class.to_s == 'Chouette::RoutingConstraintZone'                    lnk << item if item.respond_to? :line_referential                    lnk << item.stop_area if item.respond_to? :stop_area                    lnk << item if item.respond_to? :stop_points @@ -100,6 +101,7 @@ module NewapplicationHelper            if current_referential              polymorph_url << current_referential              polymorph_url << item.line if item.respond_to? :line +            polymorph_url << item if item.class.to_s == 'Chouette::RoutingConstraintZone'              polymorph_url << item if item.respond_to? :line_referential              polymorph_url << item.stop_area if item.respond_to? :stop_area              polymorph_url << item if item.respond_to? :stop_points | 
