|
@ -31,7 +31,7 @@ $router->group(['prefix' => 'auth'], function () use ($router) { |
|
|
$router->get('google/callback', 'AuthController@handleGoogleCallback'); |
|
|
$router->get('google/callback', 'AuthController@handleGoogleCallback'); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
$router->group(['prefix' => 'businesses'], function () use ($router) { |
|
|
|
|
|
|
|
|
$router->group(['prefix' => 'businesses', 'middleware' => 'auth:api'], function () use ($router) { |
|
|
$router->get('/', 'BusinessController@index'); |
|
|
$router->get('/', 'BusinessController@index'); |
|
|
$router->post('/', 'BusinessController@store'); |
|
|
$router->post('/', 'BusinessController@store'); |
|
|
|
|
|
|
|
|