summaryrefslogtreecommitdiff
path: root/lib/JWebmail.pm
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-11-12 23:20:30 +0100
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-11-12 23:20:30 +0100
commitbf5554febae6f299c716b5a9582c6bfd6980b728 (patch)
tree8a1ef7206ea5affca689ce71edf31e3114440fe9 /lib/JWebmail.pm
parent487629cca62c29719e44df2e68cf14d8b0cc2f3e (diff)
+ added some files that should belonged to the last commit
+ preparation for supporting more mime types
Diffstat (limited to 'lib/JWebmail.pm')
-rw-r--r--lib/JWebmail.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/JWebmail.pm b/lib/JWebmail.pm
index 7275891..dc68bd2 100644
--- a/lib/JWebmail.pm
+++ b/lib/JWebmail.pm
@@ -1,4 +1,4 @@
-package JWebmail v1.0.0;
+package JWebmail v1.1.0;
use Mojo::Base 'Mojolicious';
@@ -20,7 +20,7 @@ sub startup {
$self->plugin('INIConfig');
$self->plugin('ServerSideSessionData');
$self->plugin('Helper');
- $self->plugin('I18N', $self->config('i18n') // {});
+ my $i18n_route = $self->plugin('I18N2', $self->config('i18n') // {});
$self->secrets( [$self->config('secret')] ) if $self->config('secret');
delete $self->config->{secret};
@@ -42,7 +42,7 @@ sub startup {
# add helper and stash values
$self->defaults(version => __PACKAGE__->VERSION);
- $self->route();
+ $self->route($i18n_route);
}
@@ -105,4 +105,4 @@ See the CREDITS file for project contributors.
This module is licensed under the terms of the GPLv3 or any later version at your option.
Please take a look at the provided LICENSE file shipped with this module.
-=cut \ No newline at end of file
+=cut