template for landing page and routes
This commit is contained in:
@@ -53,6 +53,19 @@ class LoginController extends Controller
|
||||
'redirectToProvider']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Landing page function
|
||||
*
|
||||
* @return view
|
||||
*/
|
||||
public function landingPage() {
|
||||
if(Auth::check()) {
|
||||
return redirect('/dashboard');
|
||||
}
|
||||
|
||||
return view('landing.ladning');
|
||||
}
|
||||
|
||||
/**
|
||||
* Logout function
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user