Permalink
Browse files

Reverting changes commited by mistake

  • Loading branch information...
adamw committed Jul 13, 2015
1 parent 76b552e commit 01eccb36aaedb2cd9b27c400e8c7e618dfa34535
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/src/main/scala/org/demo/DemoServer.scala
@@ -27,13 +27,13 @@ object DemoServer extends App with SuplerServerSupport with Json4sSupport with D
path("rest" / "form1.json") {
getJson {
complete {
personFormWithSave.withNewEmpty.generateJSON
personFormWithSave(person).generateJSON
}
} ~
post {
entity(as[JValue]) { jvalue =>
complete {
personFormWithSave.withNewEmpty.process(jvalue).generateJSON
personFormWithSave(person).process(jvalue).generateJSON
}
}
}

0 comments on commit 01eccb3

Please sign in to comment.