auto_set_repository;
requires 'Catalyst' => '5.23';
-requires 'NEXT';
+requires 'MRO::Compat';
test_requires 'Test::More';
test_requires 'Data::Dumper';
use strict;
use base qw/Class::Accessor::Fast/;
-use NEXT;
+use MRO::Compat;
our $VERSION = '0.07';
# Do not redirect static files (only works with Static::Simple)
if ( $c->isa( "Catalyst::Plugin::Static::Simple" ) ) {
- return $c->NEXT::finalize(@_) if $c->_static_file;
+ return $c->next::method(@_) if $c->_static_file;
}
# redirect back to non-SSL mode
$c->res->body( '' );
}
- return $c->NEXT::finalize(@_);
+ return $c->next::method(@_);
}
sub setup {
my $c = shift;
- $c->NEXT::setup(@_);
+ $c->next::method(@_);
# disable the plugin when running under certain engines which don't
# support SSL