Routes
This commit is contained in:
parent
fedd615ed5
commit
7dc5ded56f
|
@ -365,7 +365,7 @@ class Connect
|
||||||
public function routes()
|
public function routes()
|
||||||
{
|
{
|
||||||
Route::middleware('web')
|
Route::middleware('web')
|
||||||
->namespace('Bluesquare\Connect\Controllers')
|
->namespace('\Bluesquare\Connect\Controllers')
|
||||||
->group(function () {
|
->group(function () {
|
||||||
Route::get('connect/authorize', 'ConnectController@authorize');
|
Route::get('connect/authorize', 'ConnectController@authorize');
|
||||||
Route::get('connect/callback', 'ConnectController@callback');
|
Route::get('connect/callback', 'ConnectController@callback');
|
||||||
|
@ -373,7 +373,7 @@ class Connect
|
||||||
|
|
||||||
Route::prefix('api')
|
Route::prefix('api')
|
||||||
->middleware('api')
|
->middleware('api')
|
||||||
->namespace('Bluesquare\Connect\Controllers')
|
->namespace('\Bluesquare\Connect\Controllers')
|
||||||
->group(function () {
|
->group(function () {
|
||||||
Route::post('connect/webhook', 'ConnectController@webhook');
|
Route::post('connect/webhook', 'ConnectController@webhook');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue