1
0
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:
devfake
2015-06-22 11:57:22 +02:00
parent 5972c72b67
commit 3bc8290ab8
15 changed files with 103 additions and 133 deletions

@@ -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');
});