From: Eden Cardim Date: Sun, 30 Dec 2007 14:27:08 +0000 (+0000) Subject: fixed documentation referring to deprecated Catalyst::Base X-Git-Tag: v5.8005~322 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=b2aea8fe12943297d9059495f7cc180348ff6615 fixed documentation referring to deprecated Catalyst::Base --- diff --git a/lib/Catalyst/Manual/Intro.pod b/lib/Catalyst/Manual/Intro.pod index 3a3b92d..70ac4e1 100644 --- a/lib/Catalyst/Manual/Intro.pod +++ b/lib/Catalyst/Manual/Intro.pod @@ -216,14 +216,15 @@ means that this decision is entirely up to you, the programmer; Catalyst doesn't enforce anything. See L for a general discussion of these issues. -All components must inherit from L, which provides a -simple class structure and some common class methods like C and -C (constructor). +Model, View and Controller components must inherit from L, +L and L, respectively. These, in turn, inherit +from L which provides a simple class structure and some +common class methods like C and C (constructor). package MyApp::Controller::Catalog; use strict; - use base 'Catalyst::Base'; + use base 'Catalyst::Controller'; __PACKAGE__->config( foo => 'bar' );