diff options
author | Dave Arter <davea@mysociety.org> | 2020-01-28 09:17:24 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2020-02-26 15:23:50 +0000 |
commit | d887072ed2c71997377782ada0d765970d4bbfef (patch) | |
tree | 0f6dc9ad17efa3e1b66178c9e4e9bdb930ced554 /perllib/FixMyStreet/App/Controller/Root.pm | |
parent | b7e26ef66550eceed854081cff4d5dbe340909c9 (diff) |
Use cobrand manifest icons as iOS icons, if present
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Root.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Root.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Root.pm b/perllib/FixMyStreet/App/Controller/Root.pm index caaa260ff..8128d8c9d 100644 --- a/perllib/FixMyStreet/App/Controller/Root.pm +++ b/perllib/FixMyStreet/App/Controller/Root.pm @@ -77,6 +77,10 @@ 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'); } |