]> BookStack Code Mirror - bookstack/commit
Updated not-found image path handling to have better ux
authorDan Brown <redacted>
Sat, 8 May 2021 17:49:58 +0000 (18:49 +0100)
committerDan Brown <redacted>
Sat, 8 May 2021 17:49:58 +0000 (18:49 +0100)
commit7be7d7d1e74cc8edc1a3106e4691c4883c14079a
tree0561755ca93009a9bf4ea33f0357ad76596648e5
parent04c1d0e071fd78a82964f90cceb286d1e82ea384
Updated not-found image path handling to have better ux

Added test to cover.
Started refactoring some of the app error handling in
the process of this.

Fixes #2696
app/Exceptions/Handler.php
app/Exceptions/PrettyException.php
app/Http/Controllers/Images/ImageController.php
resources/lang/en/errors.php
resources/views/errors/404.blade.php
routes/web.php
tests/ErrorTest.php