* The Sone web interface
*/
public UnfollowSoneAjaxPage(WebInterface webInterface) {
- super("ajax/unfollowSone.ajax", webInterface);
+ super("unfollowSone.ajax", webInterface);
}
/**
}
currentSone.removeFriend(soneId);
webInterface.getCore().saveSone(currentSone);
- return new JsonObject().put("success", true);
+ return createSuccessJsonObject();
}
}