mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Initial commit of DX Waterfall for Wavelog
This commit is contained in:
@@ -46,6 +46,18 @@ class Band extends CI_Controller {
|
||||
$this->load->view('interface_assets/footer', $footerData);
|
||||
}
|
||||
|
||||
// API endpoint to get band edges for the logged-in user
|
||||
public function get_user_bandedges()
|
||||
{
|
||||
$this->load->model('bands');
|
||||
|
||||
$data = $this->bands->get_all_bandedges_for_user();
|
||||
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($data);
|
||||
return;
|
||||
}
|
||||
|
||||
public function create()
|
||||
{
|
||||
$this->load->model('bands');
|
||||
|
||||
Reference in New Issue
Block a user