promo admin
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controllers;
|
||||
|
||||
class Auth extends BaseController
|
||||
{
|
||||
public function index(): string
|
||||
{
|
||||
return view('welcome_message');
|
||||
}
|
||||
|
||||
|
||||
public function AuthPromoAdmin(){
|
||||
// echo 'Ameye Olusesan';
|
||||
$out=[];
|
||||
return view('promo_admin_home', $out);
|
||||
}
|
||||
}
|
||||
@@ -28,6 +28,12 @@ class Home extends BaseController
|
||||
|
||||
$in["owner_uid"] = $out["owner_uid"]; //we need this to load jobs
|
||||
$out["task"] = $this->APIcall('POST', $this->wrenchApiServer(). 'tasks',$in)["result_list"];
|
||||
return view('welcome_message', $out);
|
||||
return view('promo', $out);
|
||||
}
|
||||
|
||||
public function member(){
|
||||
// echo 'Ameye Olusesan';
|
||||
$out=[];
|
||||
return view('member_home', $out);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user