Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Route::group(
- [
- 'middleware' => 'api'
- ],
- function () {
- Route::prefix('auth')->group(
- function ($router) {
- Route::post('login', 'Api\Auth\AuthController@login');
- Route::post('logout', 'Api\Auth\AuthController@logout');
- Route::post('refresh', 'Api\Auth\AuthController@refresh');
- Route::post('me', 'Api\Auth\AuthController@me');
- }
- );
- Route::prefix('master')->group(
- function () {
- Route::get('country', 'Api\Master\CountryController@show');
- }
- );
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement