diff options
Diffstat (limited to 'Bugzilla/Quantum.pm')
-rw-r--r-- | Bugzilla/Quantum.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/Quantum.pm b/Bugzilla/Quantum.pm index 8d46833c4..01cbb8927 100644 --- a/Bugzilla/Quantum.pm +++ b/Bugzilla/Quantum.pm @@ -61,10 +61,12 @@ sub startup { Bugzilla::WebService::Server::REST->preload; $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('/rest')->to('CGI#rest_cgi'); $r->any('/rest.cgi/*PATH_INFO')->to( 'CGI#rest_cgi' => { PATH_INFO => '' } ); $r->any('/rest/*PATH_INFO')->to( 'CGI#rest_cgi' => { PATH_INFO => '' } ); - $r->any('/bug/:id')->to('CGI#show_bug_cgi'); $r->any('/extensions/BzAPI/bin/rest.cgi/*PATH_INFO')->to('CGI#bzapi_cgi'); $r->get( |