BUG: Deleting all pages causes error when viewing front end #2
Labels
bug
Something isn't working
feature-request
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Environment
Description of issue
Deleting all pages causes the front end to break.
Current behaviour
Error
Couldn't find Integral::Page with 'id'=1 [WHERE
integral_pages.
deleted_atIS NULL]
is thrown when all the pages are deleted and a user tries to navigate to the front end.Expected behaviour
The text was updated successfully, but these errors were encountered: