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