Fixed notifications configuration
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm
index 0ffe83d..03bc776 100644
--- a/lib/Kalamar.pm
+++ b/lib/Kalamar.pm
@@ -68,22 +68,22 @@
separator => '',
current => '<span>{current}</span>',
page => '<span>{page}</span>'
- },
- Notifications => {
- 'Kalamar::Plugin::Notifications' => 1,
- JSON => 1
}
});
+ $self->plugin(Notifications => {
+ 'Kalamar::Plugin::Notifications' => 1,
+ JSON => 1
+ });
+
# Load plugins
foreach (
'Localize', # Localization framework
- 'Notifications', # Client notifications
'Search', # Abstract Search framework
'CHI', # Global caching mechanism
'TagHelpers::Pagination', # Pagination widget
'TagHelpers::MailToChiffre', # Obfuscate email addresses
- 'KalamarHelpers', # Specific Helpers for Kalamar
+ 'KalamarHelpers' # Specific Helpers for Kalamar
) {
$self->plugin($_);
};