Mojolicious 5 - not_found.development.html.ep

357 views
Skip to first unread message

Tom Adamo

unread,
Jun 12, 2014, 3:19:18 PM6/12/14
to mojol...@googlegroups.com
I'm using Mojolicious 5 and the not_found.development.html.ep template seems to no longer be included in the distribution. Was this intentional? Or, maybe I missed something?

Thanks,
- Tom

Abhijit Menon-Sen

unread,
Jun 12, 2014, 8:43:26 PM6/12/14
to mojol...@googlegroups.com
Happened in 4.79:

commit c9392e1af6c29ac9e114a6e38eaf74dc91792107
Author: Sebastian Riedel <s...@cpan.org>
Date: Tue Feb 11 02:40:29 2014 +0100

merged exception and not found pages

Changes | 3 +-
lib/Mojolicious/Controller.pm | 79 ++++++++++++++++++++++----------------------------
lib/Mojolicious/templates/{exception.development.html.ep => development.html.ep} | 196 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------
lib/Mojolicious/templates/not_found.development.html.ep | 136 --------------------------------------------------------------------------------------
4 files changed, 165 insertions(+), 249 deletions(-)

-- ams

Tom Adamo

unread,
Jun 13, 2014, 9:28:58 AM6/13/14
to mojol...@googlegroups.com
Ah, I see.

It looks like it's trying to render this template (as inline) after not_found.development.html.ep & not_found.html.ep. So, I was running into a problem b/c I have a not_found.html.ep template to support production. Renaming it to not_found.production.html.ep seems to fix the issue.

Thanks for the help,
- Tom



--
You received this message because you are subscribed to a topic in the Google Groups "Mojolicious" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mojolicious/c3SbTKr4sv0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mojolicious...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages