ok

Mini Shell

Direktori : /home2/selectio/www/ecommerce-website/website/app/Http/Controllers/api/v1/
Upload File :
Current File : /home2/selectio/www/ecommerce-website/website/app/Http/Controllers/api/v1/AttributeController.php

<?php

namespace App\Http\Controllers\api\v1;

use App\Http\Controllers\Controller;
use App\Model\Attribute;
use Illuminate\Http\Request;

class AttributeController extends Controller
{
    public function get_attributes()
    {
        $attributes = Attribute::all();
        return response()->json($attributes,200);
    }
}

Zerion Mini Shell 1.0