Use Slim for everything
This commit is contained in:
parent
78670d73a5
commit
51432dc53e
4 changed files with 34 additions and 48 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue