Fix docs as pointed out on the list
Tomas Doran [Tue, 12 May 2009 11:58:37 +0000 (11:58 +0000)]
Changes
lib/Catalyst/Upgrading.pod

diff --git a/Changes b/Changes
index fefeadc..58edea3 100644 (file)
--- a/Changes
+++ b/Changes
@@ -6,6 +6,8 @@
           to the class actually calling the deprecated method. RT#45741 (t0m)
         - Clarify limitations of $request->base and $request->secure.
           (Phil Mitchell)
+        - Add 'use Catalyst' to documentation for a Moose MyApp class as
+          noted by dmaki. (t0m)
 
 5.80003 2009-04-29 16:23:53
         - Various POD tweaks. (hdp, dandv)
index b48c293..0e4b76f 100644 (file)
@@ -126,7 +126,11 @@ etc) then the correct technique is:
 
     package MyApp;
     use Moose;
+    use Catalyst;
+
     extends 'Catalyst';
+
+    __PACKAGE__->config( name => 'MyApp' );
     __PACKAGE__->setup(qw/
         ConfigLoader
     /);