Skip to content

Commit

Permalink
chore: change routes api.php to route.php and removed api/v5 group pr…
Browse files Browse the repository at this point in the history
…efix
  • Loading branch information
Wisdom Ebong committed May 10, 2021
1 parent 015bcca commit a06ad13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea
.vscode
.DS_Store
/vendor/
composer.lock
/vendor/
Expand Down
6 changes: 1 addition & 5 deletions routes/api.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
$apiVersion = '5';
$apiBase = 'api/v' . $apiVersion;

$router->group([
'prefix' => $apiBase . '/config/data-provider',
], function () use ($router) {
$router->group([], function () use ($router) {
$router->get('gmail/initialize', 'GmailController@initialize');
$router->post('gmail/authorize', 'GmailController@authorize');
$router->post('gmail/unauthorize', 'GmailController@unauthorize');
Expand Down

0 comments on commit a06ad13

Please sign in to comment.