1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-01-29 14:28:30 +00:00

26 lines
417 B
PHP
Raw Normal View History

2015-06-19 18:50:05 +02:00
<?php
2015-06-21 16:34:27 +02:00
get('/lobby', function() {
2015-06-22 19:35:08 +02:00
return innerView();
2015-06-22 19:16:22 +02:00
});
get('/deck-builder', function() {
2015-06-22 19:35:08 +02:00
return innerView();
});
get('/highscore', function() {
return innerView();
2015-06-21 16:34:27 +02:00
});
2015-06-19 18:50:05 +02:00
get('/', function() {
2015-06-22 12:16:40 +02:00
if(Auth::check()) {
return redirect('/lobby');
}
2015-06-22 19:16:22 +02:00
return view('app')->withSection('landing');
2015-06-22 19:35:08 +02:00
});
function innerView()
{
return view('app')->withSection('inner');
}