diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-07 18:01:18 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-07 18:01:18 +0100 |
commit | db5da038ea3a3264b4bae2490dbd877cba2ecab0 (patch) | |
tree | 561f6d2ea01ba93f968d5124a2f95714376fb194 /perllib/FixMyStreet/App/View/Web.pm | |
parent | 673a2879a74d0d71c4d3be0b9c7ee567cf72b219 (diff) | |
parent | f128b19cf7bf0da5dd445dc39d1a09e8953fc32d (diff) |
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 'perllib/FixMyStreet/App/View/Web.pm')
-rw-r--r-- | perllib/FixMyStreet/App/View/Web.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm index b5f6e341d..5b20e286b 100644 --- a/perllib/FixMyStreet/App/View/Web.pm +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -8,6 +8,7 @@ use mySociety::Locale; use mySociety::Web qw(ent); use FixMyStreet; use CrossSell; +use Utils; __PACKAGE__->config( TEMPLATE_EXTENSION => '.html', @@ -91,7 +92,7 @@ sub display_crosssell_advert { return CrossSell::display_advert( $q, $email, $name, %data ); } -=head2 Page::prettify_epoch +=head2 Utils::prettify_epoch [% pretty = prettify_epoch( $epoch, $short_bool ) %] @@ -104,7 +105,7 @@ Return a pretty version of the epoch. sub prettify_epoch { my ( $self, $c, $epoch, $short_bool ) = @_; - return Page::prettify_epoch( $epoch, $short_bool ); + return Utils::prettify_epoch( $epoch, $short_bool ); } =head2 add_links |