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' } }