aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Root.pm
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2020-01-31 16:07:26 +0000
committerDave Arter <davea@mysociety.org>2020-02-26 15:25:31 +0000
commit379410d69f5d2cad7bd0dca45a09e6096b3672d6 (patch)
tree13100ea0e520bdbfc99a49e7be3634e39b5c303a /perllib/FixMyStreet/App/Controller/Root.pm
parent8c4b2a45e990dfe2e41d34883f0a4a9171650557 (diff)
Cache available icons for front page
This saves hammering the FS for every front page request
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Root.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Root.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Root.pm b/perllib/FixMyStreet/App/Controller/Root.pm
index 8128d8c9d..f9fefc2ae 100644
--- a/perllib/FixMyStreet/App/Controller/Root.pm
+++ b/perllib/FixMyStreet/App/Controller/Root.pm
@@ -77,8 +77,6 @@ sub index : Path : Args(0) {
$c->detach;
}
- # TODO: Not sure we want to hammer the FS for every front page request,
- # might need a smarter way to tell iOS about the icons
$c->forward('/offline/_stash_manifest_icons', [ $c->cobrand->moniker ]);
$c->forward('/auth/get_csrf_token');