bye bye Class::C3. for good.
[catagits/Catalyst-Runtime.git] / lib / Catalyst / View.pm
index 11a216f..1e580c3 100644 (file)
@@ -1,7 +1,7 @@
 package Catalyst::View;
 
 use Moose;
-extends 'Catalyst::Component';
+extends qw/Catalyst::Component/;
 
 =head1 NAME
 
@@ -19,15 +19,15 @@ Catalyst::View - Catalyst View base class
 
 =head1 DESCRIPTION
 
-This is the Catalyst View base class. It's meant to be used as
+This is the Catalyst View base class. It's meant to be used as 
 a base class by Catalyst views.
 
-As a convention, views are expected to read template names from
+As a convention, views are expected to read template names from 
 $c->stash->{template}, and put the output into $c->res->body.
 Some views default to render a template named after the dispatched
 action's private name. (See L<Catalyst::Action>.)
 
-=head1 METHODS
+=head1 METHODS 
 
 Implements the same methods as other Catalyst components, see
 L<Catalyst::Component>
@@ -64,4 +64,7 @@ the same terms as Perl itself.
 
 =cut
 
+no Moose;
+#__PACKAGE__->meta->make_immutable();
+
 1;