Skip to content

Commit

Permalink
controller: IndexController: Fix ktlint
Browse files Browse the repository at this point in the history
Signed-off-by: Shashank Verma <[email protected]>
  • Loading branch information
shank03 committed Oct 29, 2023
1 parent b6d9322 commit ef4c48e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<ResponseEntity<Resource>> = 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<ResponseEntity<Resource>> = Mono.just(ResponseEntity.status(HttpStatus.OK).body(html))
}

0 comments on commit ef4c48e

Please sign in to comment.