If a section exists in the database, but is marked as deleted, a 404 is generated instead of a redirect. You should redirect to the containing LogBook (unless it is also marked as deleted, in which case, take the user to the home page). Then add a flash message regarding the page being missing.
If a section exists in the database, but is marked as deleted, a 404 is generated instead of a redirect. You should redirect to the containing LogBook (unless it is also marked as deleted, in which case, take the user to the home page). Then add a flash message regarding the page being missing.