Changed use

This commit is contained in:
Florian Bouillon 2019-04-16 16:28:04 +02:00
parent bffacf4eb7
commit cffa8c4b67
2 changed files with 5 additions and 5 deletions

View File

@ -2,15 +2,15 @@
namespace Index\Controller;
use AdminPanel\Classes\Controller;
use AdminPanel\Classes\AdminPanel;
use AdminPanel\Controller;
use AdminPanel\AdminPanel;
class IndexController extends Controller
{
public function index()
{
return AdminPanel::getInstance()->getTwig()->render("@Index/index.twig", [
return $this->render("@Index/index.twig", [
"title" => "Coming Soon"
]);
// return file_get_contents($this->getModuleRoot() . "/index.html");

View File

@ -2,8 +2,8 @@
namespace ModuleName\Controller;
use AdminPanel\Classes\Controller;
use AdminPanel\Classes\Authentificator;
use AdminPanel\Controller;
use AdminPanel\Authentificator;
class ExampleController extends Controller
{