From 883a3c9379de774a3035986e90614decd8626207 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sun, 1 May 2022 21:58:10 +0200 Subject: merged read and raw routes --- lib/JWebmail/Plugin/Helper.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/JWebmail/Plugin/Helper.pm') diff --git a/lib/JWebmail/Plugin/Helper.pm b/lib/JWebmail/Plugin/Helper.pm index 3281d26..be147fe 100644 --- a/lib/JWebmail/Plugin/Helper.pm +++ b/lib/JWebmail/Plugin/Helper.pm @@ -113,7 +113,7 @@ my $render_text_plain = sub { my $render_text_html = sub { my $c_ = shift; - return ''; + return ''; }; @@ -355,7 +355,7 @@ Helper - Functions used as helpers in controller and templates and additional va L provides useful helper functions and validator cheks and filter for L and various templates. -=head1 FUNCTIONS +=head1 HELPERS =head2 mail_line @@ -393,7 +393,7 @@ This is not registered by default. =head2 paginate -A helper for calculationg page bounds. +A helper for calculating page bounds. Takes the total number of items as argument. @@ -426,7 +426,7 @@ The output is valid html and should not be escaped. =head2 session_passwd -A helper used to set and get the session password. The behaivour can be altered by +A helper used to set and get the session password. The behavior can be altered by setting the config variable C<< session => {secure => 's3d'} >>. $app->helper(session_passwd => \&JWebmail::Plugin::Helper::session_passwd); @@ -454,7 +454,7 @@ data is stored on the server. Additionally the password is encrypted by an one-t =head1 DEPENDENCIES -Mojolicious, Crypt::Random and optianally Digest::HMAC_MD5. +Mojolicious and optionally Digest::HMAC_MD5, Crypt::URandom. =head1 SEE ALSO -- cgit v1.2.3