From 4b36134a49c2ea27d39cd1154f6be324be0a2322 Mon Sep 17 00:00:00 2001 From: Jack Brinkman Date: Tue, 30 Apr 2024 10:01:27 +1000 Subject: [PATCH] Changed the static page hub redirect to display a 404 page instead --- .../au/org/ala/biocollect/StaticPageController.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/controllers/au/org/ala/biocollect/StaticPageController.groovy b/grails-app/controllers/au/org/ala/biocollect/StaticPageController.groovy index 2183c1603..7d922fe49 100644 --- a/grails-app/controllers/au/org/ala/biocollect/StaticPageController.groovy +++ b/grails-app/controllers/au/org/ala/biocollect/StaticPageController.groovy @@ -17,7 +17,7 @@ class StaticPageController { String setting = "${page}"; render view: 'index', model: ["setting": setting, "mobile": params.mobile ?:false]; } else { - redirect (controller: "hub", action: "index") + render view:'/404' } }