aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Static.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Static.pm')
-rwxr-xr-xperllib/FixMyStreet/App/Controller/Static.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Static.pm b/perllib/FixMyStreet/App/Controller/Static.pm
index 723f0f2e1..6cc22aede 100755
--- a/perllib/FixMyStreet/App/Controller/Static.pm
+++ b/perllib/FixMyStreet/App/Controller/Static.pm
@@ -19,7 +19,10 @@ template depending on language, will need extending at some point.
sub about : Global : Args(0) {
my ( $self, $c ) = @_;
- # don't need to do anything here - should just pass through.
+
+ my $lang_code = $c->stash->{lang_code};
+ my $template = "static/about-$lang_code.html";
+ $c->stash->{template} = $template;
}
sub privacy : Global : Args(0) {