Skip to content

Commit

Permalink
Fix install route showing empty screen after seeding
Browse files Browse the repository at this point in the history
  • Loading branch information
7Skiez committed May 30, 2021
1 parent 9c48c4a commit 2b1d226
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wave/src/Http/Middleware/InstallMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ public function handle($request, Closure $next)
if( $request->route()->getName() != 'wave.install' ){
return redirect()->route('wave.install');
}
}else{
if( $request->route()->getName() == 'wave.install' ){
return back();
}
}
return $next($request);
}
Expand Down

0 comments on commit 2b1d226

Please sign in to comment.