From f914f3882c416891ca0e5c5475b837a6a4aecd32 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 29 Jul 2014 22:01:07 +0200 Subject: index: fix stash usage for Mojolicious 5.x --- cgi/index.pl | 6 +++--- 1 file 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( -- cgit v1.2.3