aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Offline.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-11-15 17:35:29 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-11-15 17:35:29 +0000
commitdb75de1ca7268692215dc79f157d61ab7d66fa8e (patch)
treecb2095aa1f8466919b25674c35f7b8d1bbbabcde /perllib/FixMyStreet/App/Controller/Offline.pm
parent52ab72ad43b391b0f3b6f7385b5ba723cc1a4aba (diff)
parentf59e12ee3fa9c65f178a300954586f6ac91bba79 (diff)
Merge branch '1901-js-deferring'
Updated geolocation.js with concurrent changes.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Offline.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Offline.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Offline.pm b/perllib/FixMyStreet/App/Controller/Offline.pm
index dceccc81f..7b17bb569 100644
--- a/perllib/FixMyStreet/App/Controller/Offline.pm
+++ b/perllib/FixMyStreet/App/Controller/Offline.pm
@@ -11,7 +11,6 @@ FixMyStreet::App::Controller::Offline - Catalyst Controller
=head1 DESCRIPTION
Offline pages Catalyst Controller.
-On staging site, appcache only for people who want it.
=head1 METHODS
@@ -19,8 +18,7 @@ On staging site, appcache only for people who want it.
sub have_appcache : Private {
my ($self, $c) = @_;
- return $c->user_exists && $c->user->has_body_permission_to('planned_reports')
- && !FixMyStreet->staging_flag('enable_appcache', 0);
+ return $c->user_exists && $c->user->has_body_permission_to('planned_reports');
}
sub manifest : Path("/offline/appcache.manifest") {