diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/eu/mulk/mulkcms2/cms/about/AboutResource.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/main/java/eu/mulk/mulkcms2/cms/about/AboutResource.java b/src/main/java/eu/mulk/mulkcms2/cms/about/AboutResource.java deleted file mode 100644 index 39ecaca..0000000 --- a/src/main/java/eu/mulk/mulkcms2/cms/about/AboutResource.java +++ /dev/null @@ -1,23 +0,0 @@ -package eu.mulk.mulkcms2.cms.about; - -import static javax.ws.rs.core.MediaType.TEXT_HTML; - -import io.quarkus.qute.Template; -import io.quarkus.qute.TemplateInstance; -import io.quarkus.qute.api.ResourcePath; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; - -@Path("/about") -public class AboutResource { - - @ResourcePath("benki/about/index.html") - Template index; - - @GET - @Produces(TEXT_HTML) - public TemplateInstance getIndex() { - return index.instance(); - } -} |