Skip to content

Commit

Permalink
fix translations json
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Jun 26, 2023
1 parent 3ace199 commit ec12a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Ngo/VolunteerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ec12a10

Please sign in to comment.