enabling immutable finishing porting Log and stats
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Dispatcher.pm
index 067f721..86ac3b9 100644 (file)
@@ -170,6 +170,7 @@ sub forward {
 
     no warnings 'recursion';
 
+    #moose todo: reaching inside another object is bad
     local $c->request->{arguments} = \@args;
     $action->dispatch( $c );
 
@@ -529,6 +530,8 @@ sub _load_dispatch_types {
     return @loaded;
 }
 
+__PACKAGE__->meta->make_immutable;
+
 =head2 meta
 
 Provided by Moose