Skip to content

Commit

Permalink
fixed empty category redirect path..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Jan 28, 2021
1 parent 06eb498 commit 8a0e387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Modules/Tiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function categoryModules($alias)
$data = $this->getModulesByCategory($alias, $request);

if (empty($data)) {
return redirect()->route('apps.home')->send();
return redirect()->route('apps.home.index')->send();
}

$title = !empty($data->category) ? $data->category->name : Str::studly($alias);
Expand Down

0 comments on commit 8a0e387

Please sign in to comment.