misc_pterodactyl-panel/app/Http/Controllers/Base/IndexController.php

33 lines
687 B
PHP
Raw Normal View History

<?php
2016-12-07 22:46:38 +00:00
namespace Pterodactyl\Http\Controllers\Base;
use Pterodactyl\Http\Controllers\Controller;
2017-08-31 02:14:20 +00:00
use Pterodactyl\Contracts\Repository\ServerRepositoryInterface;
class IndexController extends Controller
{
/**
* @var \Pterodactyl\Contracts\Repository\ServerRepositoryInterface
*/
protected $repository;
/**
* IndexController constructor.
*/
public function __construct(ServerRepositoryInterface $repository)
{
$this->repository = $repository;
}
2015-12-12 06:21:17 +00:00
/**
* Returns listing of user's servers.
2015-12-12 06:21:17 +00:00
*
* @return \Illuminate\View\View
2015-12-12 06:21:17 +00:00
*/
public function index()
2015-12-12 06:21:17 +00:00
{
return view('templates/base.core');
2015-12-12 06:21:17 +00:00
}
}