diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-22 11:21:36 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-22 11:21:36 +0300 |
commit | 743c69e9a9dad819445020c96c1b8fc0102a3d6e (patch) | |
tree | 9259008ea7cbe3ea28d0e0d724277f9e2971f308 /appinfo | |
parent | c15e1e879e9854c5feaae71a8681878a099ed408 (diff) |
Split settings to work with all three gateway types independently
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index eff4857..26bd0c0 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -26,22 +26,22 @@ return [ 'routes' => [ [ 'name' => 'settings#getVerificationState', - 'url' => '/settings/verification', + 'url' => '/settings/{gateway}/verification', 'verb' => 'GET' ], [ 'name' => 'settings#startVerification', - 'url' => '/settings/verification/start', + 'url' => '/settings/{gateway}/verification/start', 'verb' => 'POST' ], [ 'name' => 'settings#finishVerification', - 'url' => '/settings/verification/finish', + 'url' => '/settings/{gateway}/verification/finish', 'verb' => 'POST' ], [ 'name' => 'settings#revokeVerification', - 'url' => '/settings/verification', + 'url' => '/settings/{gateway}/verification', 'verb' => 'DELETE' ], ] |