diff options
Diffstat (limited to 'index.pl')
-rwxr-xr-x | index.pl | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -988,6 +988,13 @@ post '/geolocation' => sub { }; +post '/list_departures' => sub { + my ($self) = @_; + my $station = $self->param('station'); + + $self->redirect_to("/s/${station}"); +}; + get '/api/v0/:action/:token' => sub { my ($self) = @_; |