diff --git a/app/Models/Rules.php b/app/Models/Rules.php index d3c5df3d..60170c95 100644 --- a/app/Models/Rules.php +++ b/app/Models/Rules.php @@ -4,13 +4,11 @@ namespace App\Models; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; class Rules extends Model { - protected $table = "rules_for_cities"; protected $fillable = [ "city_id", diff --git a/routes/api.php b/routes/api.php index ca767285..a36dd099 100644 --- a/routes/api.php +++ b/routes/api.php @@ -4,7 +4,6 @@ use App\Http\Controllers\CityProviderController; use App\Http\Controllers\RulesController; - use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Support\Facades\Route;