diff --git a/Web/lib/MJB/Web.pm b/Web/lib/MJB/Web.pm index 9a85d2a..fa747ea 100644 --- a/Web/lib/MJB/Web.pm +++ b/Web/lib/MJB/Web.pm @@ -23,7 +23,7 @@ sub startup ($self) { push @{$self->plugins->namespaces}, 'MJB::Web::Plugin'; # Load the MJB::Web::Plugin::Nginx plugin. - $self->plugins->load_plugin('Nginx'); + $self->plugin('Nginx'); $self->helper( db => sub { return state $db = MJB::DB->connect($config->{database}->{mjb});