[Jifty-commit] r3340 - jifty/trunk/lib/Jifty/View/Declare
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sun Jun 3 19:33:29 EDT 2007
Author: clkao
Date: Sun Jun 3 19:33:29 2007
New Revision: 3340
Modified:
jifty/trunk/lib/Jifty/View/Declare/Helpers.pm
Log:
Fix render_body under SPA.
Modified: jifty/trunk/lib/Jifty/View/Declare/Helpers.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Declare/Helpers.pm (original)
+++ jifty/trunk/lib/Jifty/View/Declare/Helpers.pm Sun Jun 3 19:33:29 2007
@@ -308,7 +308,7 @@
# wrapper and then get the region or render just the content
if ( !Jifty->web->current_region ) {
$page->render_header;
- $page->render_body->(sub {
+ $page->render_body(sub {
render_region( $spa->region_name,
path => Jifty->web->request->path );
});
More information about the Jifty-commit
mailing list