diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-10-25 17:02:34 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-10-25 17:02:34 +0100 |
commit | d1c5aa040038174bb7bd58b11d1f3004866e9fd0 (patch) | |
tree | 1d9db82ecd40661464f54882ea8b9f0ab59c66c8 /lib/DBInfoscreen.pm | |
parent | 5c3f8eae71b8a3eb4f7b5acf96858f861041f5ca (diff) |
return 404 for train not found, 300 for multiple station choice
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r-- | lib/DBInfoscreen.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm index 3acb969..0834a97 100644 --- a/lib/DBInfoscreen.pm +++ b/lib/DBInfoscreen.pm @@ -144,7 +144,8 @@ sub startup { $self->render( 'landingpage', stationlist => \@candidates, - hide_opts => 0 + hide_opts => 0, + status => 300, ); return; } @@ -158,7 +159,8 @@ sub startup { $self->render( 'landingpage', stationlist => \@candidates, - hide_opts => 0 + hide_opts => 0, + status => 300, ); return; } |