]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1495906 - After mojo update /latest/configuration API call no longer works and...
authordklawren <dklawren@users.noreply.github.com>
Wed, 3 Oct 2018 15:23:00 +0000 (11:23 -0400)
committerGitHub <noreply@github.com>
Wed, 3 Oct 2018 15:23:00 +0000 (11:23 -0400)
Bugzilla/Quantum.pm

index f454a78c5e82f030b8a4d74ca674e71ed81c9871..014663bd0c4544488f46067ac3414af7d5e1a642 100644 (file)
@@ -112,6 +112,7 @@ sub setup_routes {
     $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('/extensions/BzAPI/bin/rest.cgi/*PATH_INFO')->to('CGI#bzapi_cgi');
+    $r->any('/latest/*PATH_INFO')->to('CGI#bzapi_cgi');
     $r->any('/bzapi/*PATH_INFO')->to('CGI#bzapi_cgi');
 
     $r->static_file('/__lbheartbeat__');