aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-26 10:59:19 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-26 10:59:19 +0100
commita5a0867562be92483bd43b8f8a773bb7eef56e95 (patch)
tree48f928b1e15dade99df8991807e275facea40ace /perllib/FixMyStreet/App.pm
parent99c9095b0028e6139e2732f7405991b1d8a5cc98 (diff)
if appropriate generate language specific uris for emails
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 0c3a8d1cf..1d584accb 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -353,7 +353,7 @@ sub uri_for_email {
my @args = @_;
my $normal_uri = $c->uri_for(@_);
- my $base = $c->cobrand->base_url_for_emails();
+ my $base = $c->cobrand->base_url_with_lang( 1 );
my $email_uri = $base . $normal_uri->path_query;