diff --git a/app/Http/Controllers/Ngo/VolunteerController.php b/app/Http/Controllers/Ngo/VolunteerController.php index f4cdb1d1..0eb0bc93 100644 --- a/app/Http/Controllers/Ngo/VolunteerController.php +++ b/app/Http/Controllers/Ngo/VolunteerController.php @@ -13,7 +13,7 @@ public function index(Request $request, $status = '') { if (auth()->user()->organization == null) { - return redirect()->route('admin.ong.dashboard'); + return redirect()->route('admin.ong.edit'); } if (auth()->user()->organization->projects->count() == 0) { $volunteers = Volunteer::where('id',0)->paginate();