diff options
Diffstat (limited to 'src/main/scala/eu')
-rw-r--r-- | src/main/scala/eu/mulk/mulkcms2/cms/about/AboutResource.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/scala/eu/mulk/mulkcms2/cms/about/AboutResource.scala b/src/main/scala/eu/mulk/mulkcms2/cms/about/AboutResource.scala index 0d70f53..9cbe1b0 100644 --- a/src/main/scala/eu/mulk/mulkcms2/cms/about/AboutResource.scala +++ b/src/main/scala/eu/mulk/mulkcms2/cms/about/AboutResource.scala @@ -12,10 +12,10 @@ import javax.ws.rs.core.MediaType; class AboutResource { @ResourcePath("benki/about/index.html") - var index: Template = null; + var index: Template = _ @GET @Produces(Array(MediaType.TEXT_HTML)) - def getIndex(): TemplateInstance = - index.instance(); + def getIndex: TemplateInstance = + index.instance() } |