blob: 5255ee271868199531d4f8b70963c263dcd56b60 [file] [log] [blame]
Matthias Andreas Benkard8ae23a72020-10-31 19:59:24 +01001package eu.mulk.mulkcms2.cms.privacy.about;
2
Matthias Andreas Benkard49b01512021-07-05 06:45:54 +02003import io.quarkus.qute.CheckedTemplate;
Matthias Andreas Benkard8ae23a72020-10-31 19:59:24 +01004import io.quarkus.qute.TemplateInstance;
Matthias Andreas Benkard8ae23a72020-10-31 19:59:24 +01005import javax.ws.rs.GET;
6import javax.ws.rs.Path;
7import javax.ws.rs.Produces;
8import javax.ws.rs.core.MediaType;
9
10@Path("/privacy")
11public class PrivacyPolicyResource {
12
Matthias Andreas Benkard49b01512021-07-05 06:45:54 +020013 @CheckedTemplate(basePath = "benki/privacy")
14 static class Templates {
15 public static native TemplateInstance index();
16 }
Matthias Andreas Benkard8ae23a72020-10-31 19:59:24 +010017
18 @GET
19 @Produces(MediaType.TEXT_HTML)
20 public TemplateInstance getIndex() {
Matthias Andreas Benkard49b01512021-07-05 06:45:54 +020021 return Templates.index();
Matthias Andreas Benkard8ae23a72020-10-31 19:59:24 +010022 }
23}