Skip to content

Commit 4b36134

Browse files
committed
Changed the static page hub redirect to display a 404 page instead
1 parent 8b062a5 commit 4b36134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-app/controllers/au/org/ala/biocollect/StaticPageController.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class StaticPageController {
1717
String setting = "${page}";
1818
render view: 'index', model: ["setting": setting, "mobile": params.mobile ?:false];
1919
} else {
20-
redirect (controller: "hub", action: "index")
20+
render view:'/404'
2121
}
2222
}
2323

0 commit comments

Comments
 (0)