diff --git a/12-order-summary-component-thymeleaf/project/plugins.sbt b/12-order-summary-component-thymeleaf/project/plugins.sbt new file mode 100644 index 0000000..59cd318 --- /dev/null +++ b/12-order-summary-component-thymeleaf/project/plugins.sbt @@ -0,0 +1 @@ +addSbtPlugin("io.spray" % "sbt-revolver" % "0.10.0") diff --git a/12-order-summary-component-thymeleaf/src/main/scala/example/Main.scala b/12-order-summary-component-thymeleaf/src/main/scala/example/Main.scala index 5006fca..a165924 100644 --- a/12-order-summary-component-thymeleaf/src/main/scala/example/Main.scala +++ b/12-order-summary-component-thymeleaf/src/main/scala/example/Main.scala @@ -44,7 +44,7 @@ object Main { val templateEngine = new TemplateEngine() templateEngine.setTemplateResolver(templateResolver) - val a = 11234 + val a = 11 val context = new Context() context.setVariable("name", s"Johny $a")