diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-04-24 18:58:03 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-04-24 20:18:08 +0100 |
commit | 24124fdc2d41333c9d9006c6fc990816405b3671 (patch) | |
tree | 9413b75e7c8a15c2e70c5e11076b8f2b63434829 /perllib/FixMyStreet/App/Controller/Status.pm | |
parent | f77037ecdc9e248f91de980d1b2ac94a220f49e9 (diff) |
Move stats from main admin index to stats index.
These stats can take a while to generate, and we don't want to slow
down people mostly coming to the admin index to do something else.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Status.pm')
-rwxr-xr-x | perllib/FixMyStreet/App/Controller/Status.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Status.pm b/perllib/FixMyStreet/App/Controller/Status.pm index 57c8f362e..e56a7930a 100755 --- a/perllib/FixMyStreet/App/Controller/Status.pm +++ b/perllib/FixMyStreet/App/Controller/Status.pm @@ -31,7 +31,7 @@ sub index : Path : Args(0) { # superusers. It doesn't have anything sensitive $c->stash->{admin_type} = 'super'; # Fetch summary stats from admin front page - $c->forward('/admin/index'); + $c->forward('/admin/stats/gather'); # Fetch git version $c->forward('/admin/config_page'); |