From cb6638a6ac312de603948abc081016179bf788b7 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Thu, 10 Sep 2020 16:00:54 +0200 Subject: KB56 Move AboutResource.java back to where it belongs. Change-Id: I13151679db9aa75c4e9cd04d0d8726b408b1ab3f --- .../eu/mulk/mulkcms2/cms/about/AboutResource.java | 22 ++++++++++++++++++++++ .../eu/mulk/mulkcms2/cms/about/AboutResource.java | 22 ---------------------- 2 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 src/main/java/eu/mulk/mulkcms2/cms/about/AboutResource.java delete mode 100644 src/main/scala/eu/mulk/mulkcms2/cms/about/AboutResource.java (limited to 'src/main') diff --git a/src/main/java/eu/mulk/mulkcms2/cms/about/AboutResource.java b/src/main/java/eu/mulk/mulkcms2/cms/about/AboutResource.java new file mode 100644 index 0000000..a1da033 --- /dev/null +++ b/src/main/java/eu/mulk/mulkcms2/cms/about/AboutResource.java @@ -0,0 +1,22 @@ +package eu.mulk.mulkcms2.cms.about; + +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; +import javax.ws.rs.core.MediaType; + +@Path("/about") +public class AboutResource { + + @ResourcePath("benki/about/index.html") + Template index; + + @GET + @Produces(MediaType.TEXT_HTML) + public TemplateInstance getIndex() { + return index.instance(); + } +} diff --git a/src/main/scala/eu/mulk/mulkcms2/cms/about/AboutResource.java b/src/main/scala/eu/mulk/mulkcms2/cms/about/AboutResource.java deleted file mode 100644 index a1da033..0000000 --- a/src/main/scala/eu/mulk/mulkcms2/cms/about/AboutResource.java +++ /dev/null @@ -1,22 +0,0 @@ -package eu.mulk.mulkcms2.cms.about; - -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; -import javax.ws.rs.core.MediaType; - -@Path("/about") -public class AboutResource { - - @ResourcePath("benki/about/index.html") - Template index; - - @GET - @Produces(MediaType.TEXT_HTML) - public TemplateInstance getIndex() { - return index.instance(); - } -} -- cgit v1.2.3