mirror of
https://github.com/exane/not-gwent-online
synced 2025-08-16 21:17:30 +00:00
rewrite structure
This commit is contained in:
site
@@ -1,16 +1,11 @@
|
||||
<?php
|
||||
|
||||
get('/lobby', function() {
|
||||
return view('inner')
|
||||
->withSection('inner')
|
||||
->withType('server');
|
||||
return view('app')
|
||||
->withSection('inner');
|
||||
});
|
||||
|
||||
get('/', function() {
|
||||
if(Auth::check()) {
|
||||
return redirect('/lobby');
|
||||
}
|
||||
|
||||
return view('landing')
|
||||
return view('app')
|
||||
->withSection('landing');
|
||||
});
|
Reference in New Issue
Block a user