misc_pterodactyl-panel/app/Http/Routes/RemoteRoutes.php

21 lines
475 B
PHP
Raw Normal View History

2016-01-02 00:27:44 +00:00
<?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'
]);
2016-01-02 00:27:44 +00:00
});
}
}