From: Tomas Doran Date: Tue, 12 May 2009 11:58:37 +0000 (+0000) Subject: Fix docs as pointed out on the list X-Git-Tag: 5.80004~31 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=5b6f82d2a814300635703289c910683f4133ebdc Fix docs as pointed out on the list --- diff --git a/Changes b/Changes index fefeadc..58edea3 100644 --- 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) diff --git a/lib/Catalyst/Upgrading.pod b/lib/Catalyst/Upgrading.pod index b48c293..0e4b76f 100644 --- a/lib/Catalyst/Upgrading.pod +++ b/lib/Catalyst/Upgrading.pod @@ -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 /);