aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorZog2018-01-29 10:32:05 +0100
committercedricnjanga2018-02-06 11:04:27 -0800
commit755b07db36a10ffdbd315dff2b5315374eb3e58a (patch)
treebb9ab31042ba82725061867d5133a861e82a11a4 /app/views
parenta41d3b5e861929a75c6de23150d066ba366bb577 (diff)
downloadchouette-core-755b07db36a10ffdbd315dff2b5315374eb3e58a.tar.bz2
Refs #5750; Add a validation on VehicleJourneys
Ensure a time is set for all non-commercial stops
Diffstat (limited to 'app/views')
-rw-r--r--app/views/vehicle_journeys/show.rabl1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/vehicle_journeys/show.rabl b/app/views/vehicle_journeys/show.rabl
index fc65e6cb6..dca0866b3 100644
--- a/app/views/vehicle_journeys/show.rabl
+++ b/app/views/vehicle_journeys/show.rabl
@@ -45,6 +45,7 @@ child(:vehicle_journey_at_stops_matrix, :object_root => false) do |vehicle_stops
end
node(:dummy) { vehicle_stop.dummy }
+ node(:area_kind) { vehicle_stop.stop_point.stop_area.kind }
node(:stop_area_object_id) do
vehicle_stop.stop_point.stop_area.objectid