summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/index.pl b/index.pl
index 01dd760..8659232 100644
--- a/index.pl
+++ b/index.pl
@@ -652,13 +652,13 @@ get '/_imprint' => sub {
};
get '/' => \&handle_request;
-get '/:city/(*stop).html' => \&render_html;
-get '/:city/(*stop).json' => \&render_json;
-get '/:city/(*stop).png' => \&render_image;
+get '/:city/<*stop>.html' => \&render_html;
+get '/:city/<*stop>.json' => \&render_json;
+get '/:city/<*stop>.png' => \&render_image;
get '/:city/*stop' => \&handle_request;
-get '/(:stop).html' => \&render_html;
-get '/(:stop).json' => \&render_json;
-get '/(:stop).png' => \&render_image;
+get '/<:stop>.html' => \&render_html;
+get '/<:stop>.json' => \&render_json;
+get '/<:stop>.png' => \&render_image;
get '/:stop' => \&handle_request;
app->config(