Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ActiveRecord::RecordNotFound for missing pages
Currently a missing page errors in `show` on `should_skip_to_first_child?` because page is nil. `find_by!` will raise ActiveRecord::RecordNotFound and halt the action and cause a 404
- Loading branch information