ok
Direktori : /home2/selectio/www/myclassicfit.com-1/app/Http/Controllers/api/v1/ |
Current File : /home2/selectio/www/myclassicfit.com-1/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); } }