Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit e231b1d

Browse files
committed
removed test routes
1 parent 32a7d7c commit e231b1d

1 file changed

Lines changed: 1 addition & 31 deletions

File tree

App/Routes.php

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -26,35 +26,5 @@
2626
$app->setNamespace("\App\Controllers");
2727

2828
$app->get("/", function() use($app) {
29-
$app->response->respondWithCode("Welcome to bitcart API v2", 200);
30-
});
31-
32-
$app->mount('/info', function() use($app) {
33-
$app->get('/', 'InfoController@index');
34-
$app->get('/addresses', 'InfoController@addresses');
35-
$app->get('/qr', 'InfoController@qr');
36-
$app->get('/bank', 'InfoController@bank');
37-
$app->get('/mobile', 'InfoController@mobile');
38-
$app->get('/tax', 'InfoController@tax');
39-
});
40-
41-
$app->mount('/auth', function() use($app) {
42-
$app->post('/login', 'AuthController@login');
43-
$app->post('/register', 'AuthController@register');
44-
});
45-
46-
$app->mount('/account', function() use($app) {
47-
$app->get('/', 'AccountController@user');
48-
$app->get('/verify/{username}', 'AccountController@verifyUsername');
49-
$app->post('/update', 'AccountController@update');
50-
$app->post('/update/password', 'AccountController@password');
51-
});
52-
53-
$app->mount('/transactions', function() use($app) {
54-
$app->get('/', 'TransactionsController@index');
55-
$app->get('/(\d+)', 'TransactionsController@withLimit');
56-
});
57-
58-
$app->mount('/transaction', function() use($app) {
59-
$app->get('/(\d+)', 'TransactionsController@transaction');
29+
$app->response->respondWithCode("Congrats!! You're on Leaf API", 200);
6030
});

0 commit comments

Comments
 (0)