Skip to content

Commit

Permalink
Changed the static page hub redirect to display a 404 page instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-brinkman committed Apr 30, 2024
1 parent 8b062a5 commit 4b36134
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}

Expand Down

0 comments on commit 4b36134

Please sign in to comment.