[Jifty-commit] r3167 - jifty/trunk/lib/Jifty/Plugin/ErrorTemplates
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Apr 26 08:44:15 EDT 2007
Author: audreyt
Date: Thu Apr 26 08:44:15 2007
New Revision: 3167
Modified:
jifty/trunk/lib/Jifty/Plugin/ErrorTemplates/View.pm
Log:
* ErrorTemplates - Use absolute paths as relative ones in mixined templates
does not appear to work yet.
Modified: jifty/trunk/lib/Jifty/Plugin/ErrorTemplates/View.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/ErrorTemplates/View.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/ErrorTemplates/View.pm Thu Apr 26 08:44:15 2007
@@ -104,7 +104,7 @@
Jifty->log->error( "Unhandled web error " . $error );
page {
title is 'Something went awry';
- show('_elements/error_text', error => $error );
+ show('/__jifty/error/_elements/error_text', error => $error );
};
};
@@ -152,7 +152,7 @@
# If we're not in devel, bail
if ( not Jifty->config->framework("DevelMode") or not $cont ) {
- show("_elements/error_text");
+ show("/__jifty/error/_elements/error_text");
# return;
}
More information about the Jifty-commit
mailing list