1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-12-17 04:43:18 +00:00
not-gwent-online/site/server/app/Http/routes.php

16 lines
277 B
PHP
Raw Normal View History

2015-06-19 16:50:05 +00:00
<?php
2015-06-21 14:34:27 +00:00
get('/lobby', function() {
return view('inner')
->withSection('inner')
->withType('server');
});
2015-06-19 16:50:05 +00:00
get('/', function() {
2015-06-21 14:34:27 +00:00
if(Auth::check()) {
return redirect('/lobby');
}
return view('landing')
->withSection('landing');
2015-06-19 16:50:05 +00:00
});