2023-01-30 08:52:22 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Controllers\Admin\Extensions\Blueprint;
|
|
|
|
|
|
|
|
use Illuminate\View\View;
|
|
|
|
use Illuminate\View\Factory as ViewFactory;
|
|
|
|
use Pterodactyl\Http\Controllers\Controller;
|
|
|
|
use Pterodactyl\Services\Helpers\SoftwareVersionService;
|
|
|
|
|
|
|
|
class BlueprintExtensionController extends Controller
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* ExtensionsController constructor.
|
|
|
|
*/
|
|
|
|
public function __construct(private SoftwareVersionService $version, private ViewFactory $view)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Return the admin index view.
|
|
|
|
*/
|
|
|
|
public function index(): View
|
|
|
|
{
|
2023-02-06 14:48:21 -05:00
|
|
|
return $this->view->make('admin.extensions.blueprint.index', ['version' => $this->version]);
|
2023-01-30 08:52:22 -05:00
|
|
|
}
|
|
|
|
}
|