Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Play-1427] Fix Missing Template Error in PagesController (#3645)
**What does this PR do?** A clear and concise description with your runway ticket url. https://runway.powerhrg.com/backlog_items/PLAY-1427 Adds a fix to the controller to manage ActionView::MissingTemplate errors and sets up spec tests for the pages controller. **Screenshots:** Screenshots to visualize your addition/change **How to test?** Steps to confirm the desired behavior: 1. Attempt to access a path that will trigger a ActionView::MissingTemplate error (ex. "/kit_collection/image&caption§ion_separator/image/1952df896c6a79bb730cdfb69adf4fa0.png") 2. Should be redirected back to the home page #### Checklist: - [ ] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new kit`, `deprecated`, or `breaking`. See [Changelog & Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels) for details. - [ ] **DEPLOY** I have added the `milano` label to show I'm ready for a review. - [ ] **TESTS** I have added test coverage to my code. --------- Co-authored-by: Mark <[email protected]>
- Loading branch information