Fix non-existent .js requests raising DoubleRenderError.

Fix requests for non-existent .js pages, for example https://danbooru.donmai.us/oaisfj.js,
raising AbstractController::DoubleRenderError when trying to render the 404 response.
This commit is contained in:
evazion
2022-02-08 00:02:18 -06:00
parent 5ba03ba359
commit 37ad6f5a71
3 changed files with 8 additions and 0 deletions

View File