1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-08-30 05:57:30 +00:00

styling and set server routes

This commit is contained in:
devfake
2015-06-22 19:35:08 +02:00
parent 513efc2116
commit 1fb76ff494
3 changed files with 15 additions and 6 deletions

View File

@@ -1,11 +1,15 @@
<?php
get('/lobby', function() {
return view('app')->withSection('inner');
return innerView();
});
get('/deck-builder', function() {
return view('app')->withSection('inner');
return innerView();
});
get('/highscore', function() {
return innerView();
});
get('/', function() {
@@ -14,4 +18,9 @@
}
return view('app')->withSection('landing');
});
});
function innerView()
{
return view('app')->withSection('inner');
}