aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Admin.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-08-09 18:21:59 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-08-09 18:32:04 +0100
commit223c035294f0f3a79ae341349f8f78ffdf61ccd5 (patch)
tree21bd571a5eab307db0de34e9a85fd91514c71190 /perllib/FixMyStreet/App/Controller/Admin.pm
parente767b9fc4beb8fa3cb33e40a2dfe779e9ccef1d4 (diff)
Call check_page function.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm
index fcdc351ce..a7b0bda0f 100644
--- a/perllib/FixMyStreet/App/Controller/Admin.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin.pm
@@ -720,7 +720,7 @@ sub update_edit : Path('update_edit') : Args(1) {
sub search_abuse : Path('search_abuse') : Args(0) {
my ( $self, $c ) = @_;
- $c->forward('set_allowed_pages');
+ $c->forward('check_page_allowed');
my $search = $c->req->param('search');
@@ -740,7 +740,7 @@ sub search_abuse : Path('search_abuse') : Args(0) {
sub list_flagged : Path('list_flagged') : Args(0) {
my ( $self, $c ) = @_;
- $c->forward('set_allowed_pages');
+ $c->forward('check_page_allowed');
my $problems = $c->model('DB::Problem')->search( { flagged => 1 } );