fix
This commit is contained in:
@@ -66,7 +66,7 @@ class LoginController extends Controller
|
||||
|
||||
if($auth_user['roles'] === 'operasi' || $auth_user['roles'] === 'admin'){
|
||||
return redirect()->route('home');
|
||||
}else if($auth_user['roles'] === 'akaun'){
|
||||
}else if($auth_user['roles'] === 'akaun'){
|
||||
return redirect()->route('akaun.home');
|
||||
}
|
||||
else{
|
||||
|
||||
@@ -15,6 +15,23 @@ class LelongController extends Controller
|
||||
$api_url = config('api.url');
|
||||
$auth_user = Auth::user();
|
||||
|
||||
return view('lelong.mainlelong',compact('api_url','auth_user'));
|
||||
}
|
||||
|
||||
public function notislelong()
|
||||
{
|
||||
$api_url = config('api.url');
|
||||
$auth_user = Auth::user();
|
||||
|
||||
return view('lelong.notislelong',compact('api_url','auth_user'));
|
||||
}
|
||||
|
||||
|
||||
public function notislelong2()
|
||||
{
|
||||
$api_url = config('api.url');
|
||||
$auth_user = Auth::user();
|
||||
|
||||
return view('lelong.notislelongfasa2',compact('api_url','auth_user'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user