diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-02-23 22:10:37 +0000 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-02-23 22:10:37 +0000 |
commit | 3ef36c3c9b5393c78c0af59b9f4e3f4528472357 (patch) | |
tree | 74e1118ae16bdd0e7cbb9f206248883c59de51e0 /perllib/FixMyStreet/App/View/Web.pm | |
parent | b6ef8d10c3ec7164c65d81b75ecf2662952aeb6d (diff) |
More work on the Cobrand and setting for request
test to see welsh about us page
Diffstat (limited to 'perllib/FixMyStreet/App/View/Web.pm')
-rw-r--r-- | perllib/FixMyStreet/App/View/Web.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm index dcda54db9..306e4c5a7 100644 --- a/perllib/FixMyStreet/App/View/Web.pm +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -4,12 +4,13 @@ use base 'Catalyst::View::TT'; use strict; use warnings; -use FixMyStreet::App; +use mySociety::Locale; +use FixMyStreet; __PACKAGE__->config( TEMPLATE_EXTENSION => '.html', INCLUDE_PATH => [ # - FixMyStreet::App->path_to( 'templates', 'web', 'default' ), + FixMyStreet->path_to( 'templates', 'web', 'default' ), ], render_die => 1, expose_methods => ['loc'], @@ -37,7 +38,7 @@ FIXME - currently just passes through. sub loc { my ( $self, $c, @args ) = @_; - return join ' ', @args; + return _(@args); } 1; |