summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/index.pl b/index.pl
index 7bf6e5f..c502d3e 100644
--- a/index.pl
+++ b/index.pl
@@ -797,6 +797,13 @@ sub handle_request {
train_no => $result->train_no,
via => [ $result->route_interesting(3) ],
scheduled_route => [ $result->sched_route ],
+ route_pre => [ $result->route_pre ],
+ route_pre_diff => [
+ $self->json_route_diff(
+ [ $result->route_pre ],
+ [ $result->sched_route_pre ]
+ )
+ ],
route_post => [ $result->route_post ],
route_post_diff => [
$self->json_route_diff(