diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-04-24 09:14:14 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-04-24 09:14:14 +0100 |
commit | a3c652242ba95fa7c952cac1b836b154116db690 (patch) | |
tree | 5e74c622b8e86f4f8f61d15c8085a6e66e508ac8 /perllib/FixMyStreet/App/Controller/Static.pm | |
parent | e41ddb3731dd10afc6ab92f1d47a332dfd5a6f90 (diff) |
Update EHA front page heading, and about page.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Static.pm')
-rwxr-xr-x | perllib/FixMyStreet/App/Controller/Static.pm | 5 |
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) { |