Use Slim for everything

This commit is contained in:
Pierre Rudloff 2015-10-31 11:48:14 +01:00
parent 78670d73a5
commit 51432dc53e
4 changed files with 34 additions and 48 deletions

View file

@ -37,4 +37,12 @@ $app->get(
'/video',
array('Alltube\Controller\FrontController', 'video')
)->name('video');
$app->get(
'/redirect',
array('Alltube\Controller\FrontController', 'redirect')
);
$app->get(
'/json',
array('Alltube\Controller\FrontController', 'json')
);
$app->run();