misc_pterodactyl-panel/app/Http/Routes/RemoteRoutes.php
2016-01-04 16:09:39 -05:00

20 lines
475 B
PHP

<?php
namespace Pterodactyl\Http\Routes;
use Illuminate\Routing\Router;
use Request;
class RemoteRoutes {
public function map(Router $router) {
$router->group(['prefix' => 'remote'], function () use ($router) {
// Handles Remote Download Authentication Requests
$router->post('download', [
'as' => 'remote.download',
'uses' => 'Remote\RemoteController@postDownload'
]);
});
}
}