summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-07-29 22:01:07 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-07-29 22:01:07 +0200
commitf914f3882c416891ca0e5c5475b837a6a4aecd32 (patch)
tree6c14f788cf04f79f03d2b0b236d93f6d61eadd0f
parent3539d4c555632db37acd5aefbd54ce51a9bcfe54 (diff)
index: fix stash usage for Mojolicious 5.x
-rw-r--r--cgi/index.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 67c5623..c4928b1 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -472,9 +472,9 @@ get '/_redirect' => 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;
app->config(