Skip to content

Commit

Permalink
close #468 Fixed: App show page issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Aug 30, 2018
1 parent 3c8777d commit 0993885
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Http/Controllers/Modules/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ public function show($alias)

$module = $this->getModule($alias);

if (empty($module)) {
return redirect('apps/home')->send();
}

$check = Module::alias($alias)->first();

if ($check) {
Expand Down

0 comments on commit 0993885

Please sign in to comment.