Fix URL in email invitation

When using langage suffix. Should fix #11
master
Daniel Berteaud 11 years ago
parent a9bd21a596
commit 439739efe7
  1. 8
      templates/default/invite.email.ep

@ -1,6 +1,12 @@
<html>
<p>
<%== sprintf($self->l('TO_JOIN_s_CLICK_s'), $room, $self->url_for('/')->to_abs.$room) %>
<%
my $url = $self->url_for('/')->to_abs;
$url .= ($url =~ m/\/$/) ? '' : '/';
%>
<%==
sprintf($self->l('TO_JOIN_s_CLICK_s'), $room, $url.$room);
%>
</p>
<br>
<p>

Loading…
Cancel
Save