Skip to content

Commit

Permalink
Correct stop context for detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoverbruggen committed Jun 5, 2014
1 parent 27cb2c3 commit bceaf65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/controllers/StationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,12 @@ public function specificTrain($station_id, $liveboard_id){
"delay" => "http://semweb.mmlab.be/ns/rplod/delay",
"platform" => "http://semweb.mmlab.be/ns/rplod/platform",
"scheduledDepartureTime" => "http://semweb.mmlab.be/ns/rplod/scheduledDepartureTime",
"stop" => "http://semweb.mmlab.be/ns/rplod/stop",
"headsign" => "http://vocab.org/transit/terms/headsign",
"routeLabel" => "http://semweb.mmlab.be/ns/rplod/routeLabel",
"stop" => array(
"@id" => "http://semweb.mmlab.be/ns/rplod/stop",
"@type" => "@id"
),
);
return array("@context" => $context, "@graph" => $graph);
}
Expand Down

0 comments on commit bceaf65

Please sign in to comment.