Fixed notifications configuration
diff --git a/.gitignore b/.gitignore
index 365a3bb..bb07aac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@
node_modules
cache/data
public
+script/hypnotoad.pid
.sass-cache
dev/css
log
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($_);
};