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

17 lines
319 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() {
2015-06-22 17:16:22 +00:00
return view('app')->withSection('inner');
});
get('/deck-builder', function() {
return view('app')->withSection('inner');
2015-06-21 14:34:27 +00:00
});
2015-06-19 16:50:05 +00:00
get('/', function() {
2015-06-22 10:16:40 +00:00
if(Auth::check()) {
return redirect('/lobby');
}
2015-06-22 17:16:22 +00:00
return view('app')->withSection('landing');
2015-06-19 16:50:05 +00:00
});