hecho lo de galeria y arrglada tabla en songs

Signed-off-by: fede <federico.nicolas.polidoro@gmail.com>
This commit is contained in:
2025-03-27 01:15:59 -03:00
parent 55b130edad
commit b8a4cdaa6a
3 changed files with 12 additions and 29 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Http\Controllers;
use App\Models\Song;
use Illuminate\Http\Request;
use Inertia\Inertia;
@@ -9,6 +10,8 @@ class GalleryController extends Controller
{
public function index()
{
return Inertia::render('Gallery');
return Inertia::render('Gallery', [
'songs' => Song::all(),
]);
}
}