update distar url
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Plugin / AddDispatchTypes.pm
index b551e28..c1d30e5 100644 (file)
@@ -1,12 +1,14 @@
 package TestApp::Plugin::AddDispatchTypes;
 use strict;
 use warnings;
-use Class::C3;
+use MRO::Compat;
 
 sub setup_dispatcher {
     my $class = shift;
 
     ### Load custom DispatchTypes, as done by Catalyst::Plugin::Server
+    # There should be a waaay less ugly method for doing this,
+    # FIXME in 5.9
     $class->next::method( @_ );
     $class->dispatcher->preload_dispatch_types(
         @{$class->dispatcher->preload_dispatch_types},