This commit is contained in:
Tilman Walther
2012-01-08 15:22:35 +01:00
parent d72297216f
commit 4ee9a74bea
2 changed files with 6 additions and 4 deletions
+1 -4
View File
@@ -58,11 +58,8 @@ public class Request {
}
public ControllerResponse xmlResponse(Xml xml) {
ControllerResponse controllerResponse = new ControllerResponse(ControllerResponse.MIME_XML, xml,
return new ControllerResponse(ControllerResponse.MIME_XML, xml,
templateFile, path.getController());
return controllerResponse;
}
public ControllerResponse xmlResponse(Xml xml, String templateFile) {