Skip to content

Commit bceaf65

Browse files
Correct stop context for detail page
1 parent 27cb2c3 commit bceaf65

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/controllers/StationController.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,12 @@ public function specificTrain($station_id, $liveboard_id){
8383
"delay" => "http://semweb.mmlab.be/ns/rplod/delay",
8484
"platform" => "http://semweb.mmlab.be/ns/rplod/platform",
8585
"scheduledDepartureTime" => "http://semweb.mmlab.be/ns/rplod/scheduledDepartureTime",
86-
"stop" => "http://semweb.mmlab.be/ns/rplod/stop",
8786
"headsign" => "http://vocab.org/transit/terms/headsign",
8887
"routeLabel" => "http://semweb.mmlab.be/ns/rplod/routeLabel",
88+
"stop" => array(
89+
"@id" => "http://semweb.mmlab.be/ns/rplod/stop",
90+
"@type" => "@id"
91+
),
8992
);
9093
return array("@context" => $context, "@graph" => $graph);
9194
}

0 commit comments

Comments
 (0)