1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-08-13 13:07:32 +00:00

change landing view rendering to php

This commit is contained in:
devfake
2015-06-21 16:34:27 +02:00
parent 33ae055598
commit 66cc04d36c
19 changed files with 167 additions and 81 deletions

@@ -1,5 +1,16 @@
<?php
get('/lobby', function() {
return view('inner')
->withSection('inner')
->withType('server');
});
get('/', function() {
return view('app');
if(Auth::check()) {
return redirect('/lobby');
}
return view('landing')
->withSection('landing');
});