peliprint/app/Http/Controllers/Admin/ExtensionsController.php

28 lines
777 B
PHP
Raw Normal View History

2023-01-27 14:30:42 -05:00
<?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;
use Pterodactyl\Services\Helpers\BlueprintVariableService;
2023-01-27 14:30:42 -05:00
class ExtensionsController extends Controller
{
/**
* ExtensionsController constructor.
*/
public function __construct(private SoftwareVersionService $version, private ViewFactory $view, private BlueprintVariableService $bp)
2023-01-27 14:30:42 -05:00
{
}
/**
* Return the admin index view.
*/
public function index(): View
{
return $this->view->make('admin.extensions', ['version' => $this->version, 'bp' => $this->bp, 'root' => "/admin/extensions"]);
2023-01-27 14:30:42 -05:00
}
}