Commit 8c0c180b authored by Jacob Priddy's avatar Jacob Priddy 👌

Move api controllers to their own folder

parent d7de54fb
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use Illuminate\Http\Request;
use Illuminate\Http\JsonResponse;
use Source\Authorization\Authorizer;
use App\Http\Controllers\Controller;
abstract class ApiController extends Controller
{
......
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use Illuminate\Http\JsonResponse;
use Source\Authorization\Permissions;
......
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use Illuminate\Http\Request;
use Illuminate\Cookie\CookieJar;
......
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use Carbon\Carbon;
use App\Guards\DoorGuard;
......
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use Illuminate\Http\JsonResponse;
use Source\Authorization\Permissions;
......
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use Illuminate\Http\JsonResponse;
use Source\Authorization\Permissions;
......
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use Illuminate\Http\JsonResponse;
use Source\Authorization\Permissions;
......
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use Illuminate\Http\JsonResponse;
use Source\UseCases\Users\GetUser\GetUserUseCase;
......
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use App\Guards\ApiGuard;
use Source\Entities\Override;
......
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use Illuminate\Http\JsonResponse;
use Source\Authorization\Permissions;
......
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use Illuminate\Http\JsonResponse;
use Source\Authorization\Permissions;
......
<?php
namespace App\Http\Controllers;
namespace App\Http\Controllers\Api;
use Illuminate\Http\JsonResponse;
use Source\Authorization\Permissions;
......
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\MeController;
use App\Http\Controllers\AuthController;
use App\Http\Controllers\DoorsController;
use App\Http\Controllers\UsersController;
use App\Http\Controllers\GroupsController;
use App\Http\Controllers\TokensController;
use App\Http\Controllers\EntriesController;
use App\Http\Controllers\AttemptsController;
use App\Http\Controllers\OverridesController;
use App\Http\Controllers\SchedulesController;
use App\Http\Controllers\Api\MeController;
use App\Http\Controllers\Api\AuthController;
use App\Http\Controllers\Api\UsersController;
use App\Http\Controllers\Api\DoorsController;
use App\Http\Controllers\Api\TokensController;
use App\Http\Controllers\Api\GroupsController;
use App\Http\Controllers\Api\EntriesController;
use App\Http\Controllers\Api\AttemptsController;
use App\Http\Controllers\Api\SchedulesController;
use App\Http\Controllers\Api\OverridesController;
/*
|--------------------------------------------------------------------------
......
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\DoorController;
use App\Http\Controllers\Api\DoorController;
/*
|--------------------------------------------------------------------------
......
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\AuthController;
use App\Http\Controllers\Api\AuthController;
/*
|--------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment