@@ -5,7 +5,7 @@
use CGI::FormBuilder::Source::File;
use File::Spec;
use Class::Inspector;
-use NEXT;
+use Class::C3::Adopt::NEXT;
use Scalar::Util ();
use base qw/Catalyst::Action Class::Accessor::Fast
Class::Data::Inheritable/;
@@ -126,7 +126,7 @@
my $self = shift;
my ( $controller, $c ) = @_;
- return $self->NEXT::execute(@_)
+ return $self->next::method(@_)
unless exists $self->attributes->{ActionClass}
&& $self->attributes->{ActionClass}[0] eq
$controller->_fb_setup->{action};
@@ -134,7 +134,7 @@
my $form = $self->_setup_form(@_);
Scalar::Util::weaken($form->{c});
$controller->_formbuilder($form);
- $self->NEXT::execute(@_);
+ $self->next::method(@_);
$controller->_formbuilder($form); # keep the same form in case of
forwards
$self->setup_template_vars( @_ );