aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Admin.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-09-19 10:17:53 +0100
committerMatthew Somerville <matthew@mysociety.org>2013-09-19 10:17:53 +0100
commit9b7ebf0eebd8dfe0227b55aec3435bacd243f7be (patch)
tree03ad9a5b22b0b73e375bb37eb74ed2a97aff1a1a /perllib/FixMyStreet/App/Controller/Admin.pm
parent501efd9bea3c3aee1e9d0dcc708fe6d859cba33f (diff)
Add a view-configuration admin page.
Fixes #561.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm
index 4973b7c4e..424f68ba3 100644
--- a/perllib/FixMyStreet/App/Controller/Admin.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin.pm
@@ -135,6 +135,9 @@ sub index : Path : Args(0) {
return 1;
}
+sub config_page : Path( 'config' ) : Args(0) {
+}
+
sub timeline : Path( 'timeline' ) : Args(0) {
my ($self, $c) = @_;
@@ -1164,6 +1167,7 @@ sub set_allowed_pages : Private {
'users' => [_('Users'), 5],
'flagged' => [_('Flagged'), 6],
'stats' => [_('Stats'), 6],
+ 'config' => [ undef, undef ],
'user_edit' => [undef, undef],
'body' => [undef, undef],
'body_edit' => [undef, undef],