From: Tomas Doran Date: Sat, 14 Nov 2009 17:30:26 +0000 (+0000) Subject: Pod fixes re RT#51489 X-Git-Tag: 5.80014~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=7d7519a4bbd079da53bf50f4822cabb0e3af74a1 Pod fixes re RT#51489 --- diff --git a/Changes b/Changes index 995c8ea..cbedef1 100644 --- a/Changes +++ b/Changes @@ -34,6 +34,8 @@ - Update $c->forward and $c->state documentation to address scalar context. - Pod fix in Catalyst::Request (RT#51490) + - Pod fixes to refer to ::Controller:: rather than ::C:: as the latter + is deprecated (RT#51490) New features: - Added disable_component_resolution_regex_fallback config option to diff --git a/lib/Catalyst/Request.pm b/lib/Catalyst/Request.pm index 9c9705e..4b7de6d 100644 --- a/lib/Catalyst/Request.pm +++ b/lib/Catalyst/Request.pm @@ -210,7 +210,7 @@ Returns a reference to an array containing the arguments. For example, if your action was - package MyApp::C::Foo; + package MyApp::Controller::Foo; sub moose : Local { ... diff --git a/lib/Catalyst/Utils.pm b/lib/Catalyst/Utils.pm index cc3f326..53bf795 100644 --- a/lib/Catalyst/Utils.pm +++ b/lib/Catalyst/Utils.pm @@ -124,7 +124,7 @@ sub class2prefix { Returns a tempdir for a class. If create is true it will try to create the path. My::App becomes /tmp/my/app - My::App::C::Foo::Bar becomes /tmp/my/app/c/foo/bar + My::App::Controller::Foo::Bar becomes /tmp/my/app/c/foo/bar =cut