Commit a failing test for components getting config from self. This is a showstopper...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Model.pm
index 0cd5dd2..f573770 100644 (file)
@@ -3,6 +3,8 @@ package Catalyst::Model;
 use Moose;
 extends qw/Catalyst::Component/;
 
+no Moose;
+
 =head1 NAME
 
 Catalyst::Model - Catalyst Model base class
@@ -31,4 +33,6 @@ the same terms as Perl itself.
 
 =cut
 
+__PACKAGE__->meta->make_immutable;
+
 1;