summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordklawren <dklawren@users.noreply.github.com>2018-10-03 17:23:00 +0200
committerGitHub <noreply@github.com>2018-10-03 17:23:00 +0200
commitdf00fc4c827311b0849b243dbb2d650a2c1957cd (patch)
tree354c64fc14670fe925cad5329cff63577a24b89f
parent683d8b3fd64f9baf467d8b659dec1ca7796b429d (diff)
downloadbugzilla-df00fc4c827311b0849b243dbb2d650a2c1957cd.tar.gz
bugzilla-df00fc4c827311b0849b243dbb2d650a2c1957cd.tar.xz
Bug 1495906 - After mojo update /latest/configuration API call no longer works and gives page not found
-rw-r--r--Bugzilla/Quantum.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Quantum.pm b/Bugzilla/Quantum.pm
index f454a78c5..014663bd0 100644
--- a/Bugzilla/Quantum.pm
+++ b/Bugzilla/Quantum.pm
@@ -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__');