Relegate camli/search to camli/search/recent

Change-Id: I7f76db980fe1788a6d0ac556e8176bc83cd6828f
This commit is contained in:
Brad Fitzpatrick 2011-06-22 21:59:17 -07:00
parent 4b0f04257f
commit 1f39a91eee
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ func (sh *Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
if req.Method == "GET" {
switch suffix {
case "camli/search", "camli/search/recent":
case "camli/search/recent":
sh.serveRecentPermanodes(rw, req)
return
case "camli/search/describe":

View File

@ -273,7 +273,7 @@ function getQueryParam(key) {
function camliGetRecentlyUpdatedPermanodes(opts) {
var xhr = camliJsonXhr("camliGetRecentlyUpdatedPermanodes", opts);
xhr.open("GET", Camli.config.searchRoot + "camli/search", true);
xhr.open("GET", Camli.config.searchRoot + "camli/search/recent", true);
xhr.send();
}