Skip to content

Commit

Permalink
chore: update route.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Wisdom Ebong committed May 24, 2021
1 parent a06ad13 commit 213dd0b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
7 changes: 0 additions & 7 deletions routes/api.php

This file was deleted.

7 changes: 7 additions & 0 deletions routes/route.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

$router->group([], function () use ($router) {
$router->get('plugins/gmail/initialize', 'GmailController@initialize');
$router->post('plugins/gmail/authorize', 'GmailController@authorize');
$router->post('plugins/gmail/unauthorize', 'GmailController@unauthorize');
});
2 changes: 1 addition & 1 deletion src/GmailServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function ($user, $config = null)
$this->app->router->group([
'namespace' => 'Ushahidi\Gmail'
], function($router) {
require __DIR__.'../../routes/api.php';
require __DIR__.'../../routes/route.php';
});
}

Expand Down

0 comments on commit 213dd0b

Please sign in to comment.