codeforamerica / brigade

The Code for America Brigade Website
https://brigade.codeforamerica.org
MIT License
100 stars 88 forks source link

Issue #588 - server error on 404 pages that are not under /brigades/ subfolder #590

Closed nikolajbaer closed 5 years ago

nikolajbaer commented 5 years ago

Addresses Issue #588 where 500 errors are being sent on pages that apparently should be a 404.

The 500 was due to a broken URL reverse, that appears to have been residual from a move from /brigades/ to brigade.codeforamerica.org. The 404 page test was still passing because it referenced the 404 on the /brigades/ URL.

Link and test case have been updated.

tdooner commented 5 years ago

Awesome, thanks for the contribution @nikolajbaer!