peliprint/app/Http/Controllers/Admin/ExtensionsController.php
Jack G 8851d4c0c3 Extensions Page
Extensions admin page
2023-01-27 19:30:42 +00:00

26 lines
630 B
PHP

<?php
namespace Pterodactyl\Http\Controllers\Admin;
use Illuminate\View\View;
use Illuminate\View\Factory as ViewFactory;
use Pterodactyl\Http\Controllers\Controller;
use Pterodactyl\Services\Helpers\SoftwareVersionService;
class ExtensionsController extends Controller
{
/**
* ExtensionsController constructor.
*/
public function __construct(private SoftwareVersionService $version, private ViewFactory $view)
{
}
/**
* Return the admin index view.
*/
public function index(): View
{
return $this->view->make('admin.extensions', ['version' => $this->version]);
}
}