Merge branch 'main' of grond.iut-fbleau.fr:keraudre/SAE_DEV2.2_2024

This commit is contained in:
2024-06-15 19:28:07 +02:00
4 changed files with 64 additions and 8 deletions

View File

@@ -21,5 +21,11 @@ class Albums extends CI_Controller {
$this->load->view('layout/footer');
}
public function view($id){
$tracks = $this->model_music->getTracksByAlbumId($id);
$this->load->view('layout/header');
$this->load->view('album_info', ['tracks' => $tracks]);
$this->load->view('layout/footer');
}
}