From ef4c48eeb500e0e8aa34410eb187b001d6058ec9 Mon Sep 17 00:00:00 2001 From: Shashank Verma Date: Sun, 29 Oct 2023 16:13:57 +0530 Subject: [PATCH] controller: IndexController: Fix ktlint Signed-off-by: Shashank Verma --- .../kotlin/com/mnnit/moticlubs/controller/IndexController.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/mnnit/moticlubs/controller/IndexController.kt b/src/main/kotlin/com/mnnit/moticlubs/controller/IndexController.kt index c9ea67f..9c2e083 100644 --- a/src/main/kotlin/com/mnnit/moticlubs/controller/IndexController.kt +++ b/src/main/kotlin/com/mnnit/moticlubs/controller/IndexController.kt @@ -17,11 +17,11 @@ class IndexController { @GetMapping("", produces = ["text/html"]) fun index( - @Value("classpath:templates/index.html") html: Resource + @Value("classpath:templates/index.html") html: Resource, ): Mono> = Mono.just(ResponseEntity.status(HttpStatus.OK).body(html)) @GetMapping("/privacy", produces = ["text/html"]) fun privacy( - @Value("classpath:templates/privacy.html") html: Resource + @Value("classpath:templates/privacy.html") html: Resource, ): Mono> = Mono.just(ResponseEntity.status(HttpStatus.OK).body(html)) }