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.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Static.pm b/perllib/FixMyStreet/App/Controller/Static.pm
index 723f0f2e1..40e2431ea 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) {
@@ -54,6 +57,10 @@ sub iphone : Global : Args(0) {
my ( $self, $c ) = @_;
}
+sub council : Global : Args(0) {
+ my ( $self, $c ) = @_;
+}
+
__PACKAGE__->meta->make_immutable;
1;