[Jifty-commit] r5256 - jifty/trunk/lib/Jifty/Manual

Jifty commits jifty-commit at lists.jifty.org
Wed Apr 2 13:28:43 EDT 2008


Author: dpavlin
Date: Wed Apr  2 13:28:03 2008
New Revision: 5256

Modified:
   jifty/trunk/lib/Jifty/Manual/Cookbook.pod

Log:
Fix part about re-use of actions outside Jifty app by creating request and
response just like Jifty::Test->web does.

Modified: jifty/trunk/lib/Jifty/Manual/Cookbook.pod
==============================================================================
--- jifty/trunk/lib/Jifty/Manual/Cookbook.pod	(original)
+++ jifty/trunk/lib/Jifty/Manual/Cookbook.pod	Wed Apr  2 13:28:03 2008
@@ -378,7 +378,10 @@
 
     use Jifty::Everything;
     BEGIN { Jifty->new; }
-    
+
+    Jifty->web->request(Jifty::Request->new);
+    Jifty->web->response(Jifty::Response->new);
+
     use MyApp::Model::Foo;
     use MyApp::Action::FrobFoo;
 


More information about the Jifty-commit mailing list