]> BookStack Code Mirror - bookstack/commit
Fixed error when accessing non-authed attachment
authorDan Brown <redacted>
Sun, 11 Feb 2018 12:37:02 +0000 (12:37 +0000)
committerDan Brown <redacted>
Sun, 11 Feb 2018 12:37:02 +0000 (12:37 +0000)
commit548dcd4db1754fc0f05cd578c6993b78dd279193
tree9db1faaa1360aa846dcebfc5aed07d754cc79c99
parent2d41a4f0644d6e0e654a663153f9594bd39396d0
Fixed error when accessing non-authed attachment

Also updated attachment tests to use standard test-case.
Fixes #681
app/Http/Controllers/AttachmentController.php
resources/lang/en/errors.php
tests/AttachmentTest.php
tests/TestCase.php