Skip to content

Commit

Permalink
Use the "default route" rather than hard-coded "/"
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Jan 8, 2019
1 parent 386905e commit afcddf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class LoginController extends Controller
*
* @var string
*/
protected $redirectTo = '/';
protected $redirectTo = '';


/**
Expand Down Expand Up @@ -163,7 +163,7 @@ public function logout(Request $request)

AlertContainer::push( "You have been logged out." , Alert::SUCCESS );

return redirect('/');
return redirect('');
}

}

0 comments on commit afcddf0

Please sign in to comment.