1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-27 03:46:54 +00:00
not-gwent-online/site/server/app/Http/routes.php
2015-06-22 12:16:40 +02:00

15 lines
244 B
PHP
Executable File

<?php
get('/lobby', function() {
return view('app')
->withSection('inner');
});
get('/', function() {
if(Auth::check()) {
return redirect('/lobby');
}
return view('app')
->withSection('landing');
});