diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-07-29 22:01:07 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-07-29 22:01:07 +0200 |
commit | f914f3882c416891ca0e5c5475b837a6a4aecd32 (patch) | |
tree | 6c14f788cf04f79f03d2b0b236d93f6d61eadd0f | |
parent | 3539d4c555632db37acd5aefbd54ce51a9bcfe54 (diff) |
index: fix stash usage for Mojolicious 5.x
-rw-r--r-- | cgi/index.pl | 6 |
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( |