Return 404 NotFound error if @moderatable Is Not Found #5791
Labels
bug
always open for contribution
external contributors welcome
contribution is welcome!
good first issue
good first issues for anyone new to programming and new to the project.
In the event that an article can't be found, we should exit this action early and return a 404 not found error rather than trying and failing to continue to load necessary models.
Honeybadger: https://app.honeybadger.io/fault/66984/184d0d115e69e18889765fd6ffd15d6a
Error:
ApplicationController has a handy
not_found
method that you can use to do this. I think you will want to implement a solution similar to this one.The text was updated successfully, but these errors were encountered: