feat: add slider feature

This commit is contained in:
2025-09-25 08:40:08 +03:30
parent f85d0317a2
commit 0b52638e7d
5 changed files with 134 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Slider;
class SliderController extends Controller
{
public function index()
{
return response()->json([
'data' => Slider::all()
]);
}
}