Closed preaction closed 6 years ago
By default, Mojolicious will first try to find not_found.$mode.$format.* before trying not_found.$format.*. Somehow, the plugin was preventing that, but adding back one of the checks from v1.30 fixes it.
not_found.$mode.$format.*
not_found.$format.*
This fixes one of the problems that 2.00 causes in Yancy. See https://github.com/preaction/Yancy/issues/18 and http://www.cpantesters.org/cpan/report/0f7cb956-c4c9-11e8-8f89-a365089b717b This change fixes the t/standalone.t test failure.
t/standalone.t
I like it! It will probably also fix #91.
But could you tidy the code?
The code has been tidied now
Awesome! 👍
By default, Mojolicious will first try to find
not_found.$mode.$format.*
before tryingnot_found.$format.*
. Somehow, the plugin was preventing that, but adding back one of the checks from v1.30 fixes it.This fixes one of the problems that 2.00 causes in Yancy. See https://github.com/preaction/Yancy/issues/18 and http://www.cpantesters.org/cpan/report/0f7cb956-c4c9-11e8-8f89-a365089b717b This change fixes the
t/standalone.t
test failure.