summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-02-24 18:49:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-02-24 18:49:35 +0100
commita4f9f523e287fda3e5cce5fcc47521634c530310 (patch)
treea8eab89d1d4bcc0024a660ded20da6781b6e6836 /index.pl
parent09225cc69415692b6c70df1eafa4697de8fab505 (diff)
add station xsource
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.pl b/index.pl
index f11cf2b..887008a 100644
--- a/index.pl
+++ b/index.pl
@@ -124,6 +124,9 @@ get '/2ddata.tsv' => sub {
$format = 'train_type || " " || line_no';
$where_clause = 'line_no is not null';
}
+ when ('station') {
+ $format = 'station';
+ }
when ('train_type') {
$format = 'train_type';
}