formatting fix
groditi [Wed, 26 Nov 2008 20:36:13 +0000 (20:36 +0000)]
lib/ComponentUI/TestModel.pm

index e13c31c..d33af2f 100644 (file)
@@ -7,14 +7,17 @@ use Reaction::InterfaceModel::Reflector::DBIC;
 
 my $reflector = Reaction::InterfaceModel::Reflector::DBIC->new;
 
-$reflector->reflect_schema
-  (
-   model_class  => __PACKAGE__,
-   schema_class => 'RTest::TestDB',
-   sources => [qw/Foo Baz/,
-               [ Bar => {attributes => [[-exclude => 'avatar']] } ], ## for now....
-              ],
-  );
+$reflector->reflect_schema(
+  model_class  => __PACKAGE__,
+  schema_class => 'RTest::TestDB',
+  sources => [
+    qw/Foo Baz/,
+    [ Bar => {attributes => [[-exclude => 'avatar']] } ], ## for now....
+  ],
+);
 
+__PACKAGE__->meta->make_immutable;1;
 
 1;
+
+__END__;