Description
Running 'Compact Views' from Futon when you are not viewing a design document causes the database to be compacted, not the view.
from futon.browse.js;
case "compact_views":
var groupname = page.viewName.substring(8,
page.viewName.indexOf("/_view"));
db.compactView(groupname, {success: function(resp) { callback() }});
break;
in this case the substring is empty, so the POST goes straight to /dbname/_compact