diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-08-06 20:56:28 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-08-20 23:52:52 +0200 |
commit | 5e9d3d62885d141d2c980f15ff705fd5d632d91b (patch) | |
tree | 2c1f9b292352a9cc3270318b17059314112e6fff /Bugzilla | |
parent | ae07e0f8f8f328c44ec0febc39d30ea639005f12 (diff) | |
download | bugzilla-5e9d3d62885d141d2c980f15ff705fd5d632d91b.tar.gz bugzilla-5e9d3d62885d141d2c980f15ff705fd5d632d91b.tar.xz |
fix route
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Quantum.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Quantum.pm b/Bugzilla/Quantum.pm index 01cbb8927..b922cf266 100644 --- a/Bugzilla/Quantum.pm +++ b/Bugzilla/Quantum.pm @@ -62,7 +62,7 @@ sub startup { $r->any('/')->to('CGI#index_cgi'); $r->any('/bug/:id')->to('CGI#show_bug_cgi'); - $r->any('/:bug_id' => { bug_id => qr/^[0-9]+$/ }); + $r->any('/:bug_id' => { bug_id => qr/^[0-9]+$/ })->to('CGI#show_bug_cgi'); $r->any('/rest')->to('CGI#rest_cgi'); $r->any('/rest.cgi/*PATH_INFO')->to( 'CGI#rest_cgi' => { PATH_INFO => '' } ); |