mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
26 lines
417 B
PHP
Executable File
26 lines
417 B
PHP
Executable File
<?php
|
|
|
|
get('/lobby', function() {
|
|
return innerView();
|
|
});
|
|
|
|
get('/deck-builder', function() {
|
|
return innerView();
|
|
});
|
|
|
|
get('/highscore', function() {
|
|
return innerView();
|
|
});
|
|
|
|
get('/', function() {
|
|
if(Auth::check()) {
|
|
return redirect('/lobby');
|
|
}
|
|
|
|
return view('app')->withSection('landing');
|
|
});
|
|
|
|
function innerView()
|
|
{
|
|
return view('app')->withSection('inner');
|
|
} |