Subject: | new method throws errors |
Your new method can entirely be replaced with this:
__PACKAGE__->config(stash_variable => 'js', path => 'js', subinclude => 0);
Also you can remove:
use NEXT;
use Carp;
use Data::Dump;
use Catalyst::Exception; # I think