diff --git a/app.groovy b/app.groovy index f2d1e3d5..6bc97c0c 100644 --- a/app.groovy +++ b/app.groovy @@ -144,6 +144,11 @@ class MainController { resources.mkdirs() new File(resources, 'application.properties').write('') + if (isWebStyle(request.style)) { + new File(dir, 'src/main/resources/templates').mkdirs() + new File(dir, 'src/main/resources/static').mkdirs() + } + tempFiles }