diff options
author | dartcafe <github@dartcafe.de> | 2020-12-07 00:54:42 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-12-07 00:54:42 +0300 |
commit | 4b72db6c82552572ac90381d8e250c6f70b38d2b (patch) | |
tree | 8f6fa54628a12550df630572828e5a90bad18b17 /appinfo | |
parent | 9f7537b6b526d5ef56a742dc354b12d0531b785e (diff) |
Adding admin section
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index d29b7710..5b32f243 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -36,6 +36,10 @@ return [ ['name' => 'public#validate_public_username', 'url' => '/check/username', 'verb' => 'POST'], ['name' => 'public#validate_email_address', 'url' => '/check/emailaddress/{emailAddress}', 'verb' => 'GET'], + ['name' => 'admin#index', 'url' => '/administration', 'verb' => 'GET'], + ['name' => 'admin#list', 'url' => '/administration/polls', 'verb' => 'GET'], + ['name' => 'admin#takeover', 'url' => '/administration/poll/{pollId}/takeover', 'verb' => 'GET'], + ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'], ['name' => 'page#index', 'url' => '/not-found', 'verb' => 'GET', 'postfix' => 'notfound'], ['name' => 'page#index', 'url' => '/list/{id}', 'verb' => 'GET', 'postfix' => 'list'], |