--- a/directmapping-webapp/src/main/scala/Main.scala Tue Aug 30 01:05:16 2011 -0400
+++ b/directmapping-webapp/src/main/scala/Main.scala Tue Aug 30 01:43:17 2011 -0400
@@ -128,14 +128,14 @@
}
}
- Ok ~> Scalate(req, "index.ssp",
- "ddlName" -> "",
- "ddl" -> ddl,
- "ddlMessage" -> ddlMessage,
- "constructName" -> "",
- "construct" -> constructs,
- "constructMessage" -> constructMessage,
- "result" -> dmThenConstruct(ddl, constructs))(engine)
+ Ok ~> ContentType("application/xhtml+xml") ~> Scalate(req, "index.ssp",
+ "ddlName" -> "",
+ "ddl" -> ddl,
+ "ddlMessage" -> ddlMessage,
+ "constructName" -> "",
+ "construct" -> constructs,
+ "constructMessage" -> constructMessage,
+ "result" -> dmThenConstruct(ddl, constructs))(engine)
}
}